[ADVAPI32_WINETEST]: Fix compilation with MSVC 2010 (guarded via __REACTOS__).

svn path=/trunk/; revision=74963
This commit is contained in:
Hermès Bélusca-Maïto 2017-06-08 17:04:24 +00:00
parent 72c5e65e8c
commit 349d9f652b

View file

@ -1209,7 +1209,11 @@ static void test_start_trace(void)
ret = StartTraceA(&handle, sessionname, properties);
todo_wine
ok(ret == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", ret);
#ifndef __REACTOS__
properties->Wnode.Guid = (GUID){0};
#else
memset(&properties->Wnode.Guid, 0, sizeof(properties->Wnode.Guid));
#endif
properties->LogFileNameOffset = 0;
ret = StartTraceA(&handle, sessionname, properties);