Module: wine Branch: master Commit: 3f6e4adf9d66d2dfe51fe14ecdf3c8fea28a6219 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3f6e4adf9d66d2dfe51fe14ecd...
Author: Paul Vriens paul.vriens.wine@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))