Commit d37c7eca authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent c6946ff6
......@@ -1175,10 +1175,10 @@ static void test_nonblocking_file_access(void)
arg.read = filer;
arg.write = filew;
arg.init = CreateEvent(NULL, FALSE, FALSE, NULL);
arg.finish = CreateEvent(NULL, FALSE, FALSE, NULL);
ok(arg.init != NULL, "CreateEvent failed\n");
ok(arg.finish != NULL, "CreateEvent failed\n");
arg.init = CreateEventW(NULL, FALSE, FALSE, NULL);
arg.finish = CreateEventW(NULL, FALSE, FALSE, NULL);
ok(arg.init != NULL, "CreateEventW failed\n");
ok(arg.finish != NULL, "CreateEventW failed\n");
thread = CreateThread(NULL, 0, block_file, (void*)&arg, 0, NULL);
ok(thread != NULL, "CreateThread failed\n");
WaitForSingleObject(arg.init, INFINITE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment