[PATCH 4/7] msvcr90/tests: Use the W form of CreateEvent().

Michael Stefaniuc mstefani at redhat.de
Tue Oct 1 16:20:56 CDT 2013


---
 dlls/msvcr90/tests/msvcr90.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/msvcr90/tests/msvcr90.c b/dlls/msvcr90/tests/msvcr90.c
index 2a3124d..a1b0f5f 100644
--- a/dlls/msvcr90/tests/msvcr90.c
+++ b/dlls/msvcr90/tests/msvcr90.c
@@ -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);
-- 
1.8.3.1



More information about the wine-patches mailing list