msvcr90/tests: Use the W form of CreateEvent().

This commit is contained in:
Michael Stefaniuc 2013-10-01 23:20:56 +02:00 committed by Alexandre Julliard
parent c6946ff653
commit d37c7ecacf
1 changed files with 4 additions and 4 deletions

View File

@ -1175,10 +1175,10 @@ static void test_nonblocking_file_access(void)
arg.read = filer; arg.read = filer;
arg.write = filew; arg.write = filew;
arg.init = CreateEvent(NULL, FALSE, FALSE, NULL); arg.init = CreateEventW(NULL, FALSE, FALSE, NULL);
arg.finish = CreateEvent(NULL, FALSE, FALSE, NULL); arg.finish = CreateEventW(NULL, FALSE, FALSE, NULL);
ok(arg.init != NULL, "CreateEvent failed\n"); ok(arg.init != NULL, "CreateEventW failed\n");
ok(arg.finish != NULL, "CreateEvent failed\n"); ok(arg.finish != NULL, "CreateEventW failed\n");
thread = CreateThread(NULL, 0, block_file, (void*)&arg, 0, NULL); thread = CreateThread(NULL, 0, block_file, (void*)&arg, 0, NULL);
ok(thread != NULL, "CreateThread failed\n"); ok(thread != NULL, "CreateThread failed\n");
WaitForSingleObject(arg.init, INFINITE); WaitForSingleObject(arg.init, INFINITE);