mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
- ElfrOpenBELW/ElfrOpenELW/ElfrRegisterEventSourceW: MajorVersion and MinorVersion must be 1 as documented on MSDN.
- ReportEventW: Use RtlInitUnicodeString for ComputerName. svn path=/trunk/; revision=41201
This commit is contained in:
@@ -513,8 +513,8 @@ OpenBackupEventLogW(IN LPCWSTR lpUNCServerName,
|
||||
{
|
||||
Status = ElfrOpenBELW((LPWSTR)lpUNCServerName,
|
||||
&FileName,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
&LogHandle);
|
||||
}
|
||||
RpcExcept(EXCEPTION_EXECUTE_HANDLER)
|
||||
@@ -593,8 +593,8 @@ OpenEventLogW(IN LPCWSTR lpUNCServerName,
|
||||
Status = ElfrOpenELW((LPWSTR)lpUNCServerName,
|
||||
&SourceName,
|
||||
&EmptyString,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
&LogHandle);
|
||||
}
|
||||
RpcExcept(EXCEPTION_EXECUTE_HANDLER)
|
||||
@@ -799,8 +799,8 @@ RegisterEventSourceW(IN LPCWSTR lpUNCServerName,
|
||||
Status = ElfrRegisterEventSourceW((LPWSTR)lpUNCServerName,
|
||||
&SourceName,
|
||||
&EmptyString,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
&LogHandle);
|
||||
}
|
||||
RpcExcept(EXCEPTION_EXECUTE_HANDLER)
|
||||
@@ -938,7 +938,7 @@ ReportEventW(IN HANDLE hEventLog,
|
||||
RtlInitUnicodeString(&Strings[i], lpStrings[i]);
|
||||
|
||||
/*FIXME: ComputerName */
|
||||
RtlInitEmptyUnicodeString(&ComputerName, L"", 0);
|
||||
RtlInitUnicodeString(&ComputerName, L"");
|
||||
|
||||
RpcTryExcept
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user