user32/tests: Win9x needs a threadid for CreateThread.

This commit is contained in:
Paul Vriens 2008-09-08 08:07:08 +02:00 committed by Alexandre Julliard
parent 5737fb815c
commit 3f6e4adf9d

View file

@ -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))