Paul Vriens : user32/tests: Skip some tests on Win9x/WinMe.
Alexandre Julliard
julliard at winehq.org
Fri Oct 23 10:19:05 CDT 2009
Module: wine
Branch: master
Commit: 05765a0b0c0f0b3caa8cb4ad10a2a206ddf7f913
URL: http://source.winehq.org/git/wine.git/?a=commit;h=05765a0b0c0f0b3caa8cb4ad10a2a206ddf7f913
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Fri Oct 23 15:03:12 2009 +0200
user32/tests: Skip some tests on Win9x/WinMe.
---
dlls/user32/tests/input.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/tests/input.c b/dlls/user32/tests/input.c
index 42d9544..d82ef3c 100644
--- a/dlls/user32/tests/input.c
+++ b/dlls/user32/tests/input.c
@@ -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(). */
More information about the wine-cvs
mailing list