Author: mjmartin
Date: Sat May 30 04:38:46 2009
New Revision: 41201
URL:
http://svn.reactos.org/svn/reactos?rev=41201&view=rev
Log:
- ElfrOpenBELW/ElfrOpenELW/ElfrRegisterEventSourceW: MajorVersion and MinorVersion must be
1 as documented on MSDN.
- ReportEventW: Use RtlInitUnicodeString for ComputerName.
Modified:
trunk/reactos/dll/win32/advapi32/service/eventlog.c
Modified: trunk/reactos/dll/win32/advapi32/service/eventlog.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/service…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/service/eventlog.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/service/eventlog.c [iso-8859-1] Sat May 30 04:38:46
2009
@@ -513,8 +513,8 @@
{
Status = ElfrOpenBELW((LPWSTR)lpUNCServerName,
&FileName,
- 0,
- 0,
+ 1,
+ 1,
&LogHandle);
}
RpcExcept(EXCEPTION_EXECUTE_HANDLER)
@@ -593,8 +593,8 @@
Status = ElfrOpenELW((LPWSTR)lpUNCServerName,
&SourceName,
&EmptyString,
- 0,
- 0,
+ 1,
+ 1,
&LogHandle);
}
RpcExcept(EXCEPTION_EXECUTE_HANDLER)
@@ -799,8 +799,8 @@
Status = ElfrRegisterEventSourceW((LPWSTR)lpUNCServerName,
&SourceName,
&EmptyString,
- 0,
- 0,
+ 1,
+ 1,
&LogHandle);
}
RpcExcept(EXCEPTION_EXECUTE_HANDLER)
@@ -938,7 +938,7 @@
RtlInitUnicodeString(&Strings[i], lpStrings[i]);
/*FIXME: ComputerName */
- RtlInitEmptyUnicodeString(&ComputerName, L"", 0);
+ RtlInitUnicodeString(&ComputerName, L"");
RpcTryExcept
{