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:
Hervé Poussineau 2008-05-18 16:01:29 +00:00
parent ac77d9d3a6
commit fdb3291c6b

View file

@ -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);