Module: wine Branch: master Commit: a5719990b5c168fbc82e77a062ce95be6e0fcae0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a5719990b5c168fbc82e77a062... Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Thu May 26 13:56:47 2011 -0500 user32/tests: Test registering the same hotkey hwnd/id pair twice. --- dlls/user32/tests/msg.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 12e606e..841af25 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -13192,6 +13192,10 @@ static void test_hotkey(void) DispatchMessage(&msg); ok_sequence(WmHotkeyReleaseLWIN, "window hotkey release LWIN", FALSE); + /* Register same hwnd/id with different key combination */ + ret = RegisterHotKey(test_window, 5, 0, hotkey_letter); + ok(ret == TRUE, "expected TRUE, got %i, err=%d\n", ret, GetLastError()); + /* Unregister hotkey properly */ SetLastError(0xdeadbeef); ret = UnregisterHotKey(test_window, 5);