user32/tests: Skip some tests on Win9x/WinMe.

This commit is contained in:
Paul Vriens 2009-10-23 15:03:12 +02:00 committed by Alexandre Julliard
parent 6f6ce4a325
commit 05765a0b0c
1 changed files with 6 additions and 1 deletions

View File

@ -904,7 +904,12 @@ static void test_Input_blackbox(void)
SetWindowPos( window, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOSIZE|SWP_NOMOVE );
SetForegroundWindow( window );
hook = SetWindowsHookExA(WH_KEYBOARD_LL, hook_proc, GetModuleHandleA( NULL ), 0);
if (!(hook = SetWindowsHookExA(WH_KEYBOARD_LL, hook_proc, GetModuleHandleA( NULL ), 0)))
{
DestroyWindow(window);
win_skip("WH_KEYBOARD_LL is not supported\n");
return;
}
/* must process all initial messages, otherwise X11DRV_KeymapNotify unsets
* key state set by SendInput(). */