mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 16:40:27 +00:00
Send an empty string, as required by the documentation
See issue #3202 for more details. svn path=/trunk/; revision=33587
This commit is contained in:
parent
ac77d9d3a6
commit
fdb3291c6b
1 changed files with 4 additions and 2 deletions
|
@ -34,6 +34,8 @@ typedef struct _LOG_INFO
|
|||
BOOL bLocal;
|
||||
} LOG_INFO, *PLOG_INFO;
|
||||
|
||||
static RPC_UNICODE_STRING EmptyString = { 0, 0, L"" };
|
||||
|
||||
/******************************************************************************
|
||||
* BackupEventLogA [ADVAPI32.@]
|
||||
*/
|
||||
|
@ -560,7 +562,7 @@ OpenEventLogW(
|
|||
pLog->BindingHandle,
|
||||
(LPWSTR)lpUNCServerName,
|
||||
&SourceName,
|
||||
NULL,
|
||||
&EmptyString,
|
||||
0,
|
||||
0,
|
||||
&pLog->LogHandle);
|
||||
|
@ -777,7 +779,7 @@ RegisterEventSourceW(
|
|||
pLog->BindingHandle,
|
||||
(LPWSTR)lpUNCServerName,
|
||||
&SourceName,
|
||||
NULL,
|
||||
&EmptyString,
|
||||
0,
|
||||
0,
|
||||
&pLog->LogHandle);
|
||||
|
|
Loading…
Reference in a new issue