mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 09:35:52 +00:00
wevtapi: Use nameless unions/structs.
This commit is contained in:
parent
8a2dca2563
commit
d75127d41a
|
@ -19,8 +19,6 @@
|
|||
|
||||
#include <stdarg.h>
|
||||
|
||||
#define NONAMELESSUNION
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winevt.h"
|
||||
|
@ -63,8 +61,8 @@ BOOL WINAPI EvtGetChannelConfigProperty(EVT_HANDLE ChannelConfig,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
PropertyValueBuffer->u.StringVal = (LPWSTR)(PropertyValueBuffer + 1);
|
||||
wcscpy((LPWSTR)PropertyValueBuffer->u.StringVal, log_pathW);
|
||||
PropertyValueBuffer->StringVal = (LPWSTR)(PropertyValueBuffer + 1);
|
||||
wcscpy((LPWSTR)PropertyValueBuffer->StringVal, log_pathW);
|
||||
PropertyValueBuffer->Type = EvtVarTypeString;
|
||||
return TRUE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue