Michael Stefaniuc : iphlpapi/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: c6946ff653f54b54ddd05f70cc2dbfe3dc090aec
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c6946ff653f54b54ddd05f70cc2dbfe3dc090aec

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

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

---

 dlls/iphlpapi/tests/iphlpapi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/iphlpapi/tests/iphlpapi.c b/dlls/iphlpapi/tests/iphlpapi.c
index 032ac06..0d99e3c 100644
--- a/dlls/iphlpapi/tests/iphlpapi.c
+++ b/dlls/iphlpapi/tests/iphlpapi.c
@@ -1062,7 +1062,7 @@ static void testNotifyAddrChange(void)
 
     handle = NULL;
     ZeroMemory(&overlapped, sizeof(overlapped));
-    overlapped.hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
+    overlapped.hEvent = CreateEventW(NULL, FALSE, FALSE, NULL);
     ret = pNotifyAddrChange(&handle, &overlapped);
     ok(ret == ERROR_IO_PENDING, "NotifyAddrChange returned %d, expected ERROR_IO_PENDING\n", ret);
     todo_wine ok(handle != INVALID_HANDLE_VALUE, "NotifyAddrChange returned invalid file handle\n");
@@ -1077,7 +1077,7 @@ static void testNotifyAddrChange(void)
     {
         handle = NULL;
         ZeroMemory(&overlapped, sizeof(overlapped));
-        overlapped.hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
+        overlapped.hEvent = CreateEventW(NULL, FALSE, FALSE, NULL);
         trace("Testing asynchronous ipv4 address change notification. Please "
               "change the ipv4 address of one of your network interfaces\n");
         ret = pNotifyAddrChange(&handle, &overlapped);




More information about the wine-cvs mailing list