Paul Vriens : user32/tests: Win9x needs a threadid for CreateThread.
Alexandre Julliard
julliard at winehq.org
Mon Sep 8 07:41:46 CDT 2008
Module: wine
Branch: master
Commit: 3f6e4adf9d66d2dfe51fe14ecdf3c8fea28a6219
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3f6e4adf9d66d2dfe51fe14ecdf3c8fea28a6219
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Mon Sep 8 08:07:08 2008 +0200
user32/tests: Win9x needs a threadid for CreateThread.
---
dlls/user32/tests/menu.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/tests/menu.c b/dlls/user32/tests/menu.c
index 74cb2a0..5ccaba4 100644
--- a/dlls/user32/tests/menu.c
+++ b/dlls/user32/tests/menu.c
@@ -1796,6 +1796,7 @@ static void test_menu_input(void) {
WNDCLASSA wclass;
HINSTANCE hInstance = GetModuleHandleA( NULL );
HANDLE hThread, hWnd;
+ DWORD tid;
wclass.lpszClassName = "MenuTestClass";
wclass.style = CS_HREDRAW | CS_VREDRAW;
@@ -1831,7 +1832,7 @@ static void test_menu_input(void) {
ShowWindow(hWnd, SW_SHOW);
UpdateWindow(hWnd);
- hThread = CreateThread(NULL, 0, test_menu_input_thread, hWnd, 0, NULL);
+ hThread = CreateThread(NULL, 0, test_menu_input_thread, hWnd, 0, &tid);
while(1)
{
if (WAIT_TIMEOUT != WaitForSingleObject(hThread, 50))
More information about the wine-cvs
mailing list