mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 18:56:48 +00:00
[ADVAPI32_WINETEST]: Fix compilation with MSVC 2010 (guarded via __REACTOS__).
svn path=/trunk/; revision=74963
This commit is contained in:
parent
72c5e65e8c
commit
349d9f652b
1 changed files with 4 additions and 0 deletions
|
@ -1209,7 +1209,11 @@ static void test_start_trace(void)
|
||||||
ret = StartTraceA(&handle, sessionname, properties);
|
ret = StartTraceA(&handle, sessionname, properties);
|
||||||
todo_wine
|
todo_wine
|
||||||
ok(ret == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", ret);
|
ok(ret == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", ret);
|
||||||
|
#ifndef __REACTOS__
|
||||||
properties->Wnode.Guid = (GUID){0};
|
properties->Wnode.Guid = (GUID){0};
|
||||||
|
#else
|
||||||
|
memset(&properties->Wnode.Guid, 0, sizeof(properties->Wnode.Guid));
|
||||||
|
#endif
|
||||||
|
|
||||||
properties->LogFileNameOffset = 0;
|
properties->LogFileNameOffset = 0;
|
||||||
ret = StartTraceA(&handle, sessionname, properties);
|
ret = StartTraceA(&handle, sessionname, properties);
|
||||||
|
|
Loading…
Reference in a new issue