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

Alexandre Julliard julliard at winehq.org
Wed Oct 2 15:49:12 CDT 2013


Module: wine
Branch: master
Commit: d37c7ecacfbe45e98ff9c33a8af0dbf76746777b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d37c7ecacfbe45e98ff9c33a8af0dbf76746777b

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Oct  1 23:20:56 2013 +0200

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

---

 dlls/msvcr90/tests/msvcr90.c |    8 ++++----
 1 files 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);




More information about the wine-cvs mailing list