Commit 84153c09 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

user32/tests: Run tests again on Win95.

parent a30778b3
...@@ -970,7 +970,7 @@ static void test_unicode_keys(HWND hwnd, HHOOK hook) ...@@ -970,7 +970,7 @@ static void test_unicode_keys(HWND hwnd, HHOOK hook)
inputs[0].u.ki.dwFlags = KEYEVENTF_UNICODE; inputs[0].u.ki.dwFlags = KEYEVENTF_UNICODE;
reset_key_status(); reset_key_status();
SendInput(1, (INPUT*)inputs, sizeof(INPUT)); pSendInput(1, (INPUT*)inputs, sizeof(INPUT));
while(PeekMessageW(&msg, hwnd, 0, 0, PM_REMOVE)){ while(PeekMessageW(&msg, hwnd, 0, 0, PM_REMOVE)){
if(msg.message == WM_KEYDOWN && msg.wParam == VK_PACKET){ if(msg.message == WM_KEYDOWN && msg.wParam == VK_PACKET){
TranslateMessage(&msg); TranslateMessage(&msg);
...@@ -992,7 +992,7 @@ static void test_unicode_keys(HWND hwnd, HHOOK hook) ...@@ -992,7 +992,7 @@ static void test_unicode_keys(HWND hwnd, HHOOK hook)
inputs[1].u.ki.dwFlags = KEYEVENTF_UNICODE | KEYEVENTF_KEYUP; inputs[1].u.ki.dwFlags = KEYEVENTF_UNICODE | KEYEVENTF_KEYUP;
reset_key_status(); reset_key_status();
SendInput(1, (INPUT*)(inputs+1), sizeof(INPUT)); pSendInput(1, (INPUT*)(inputs+1), sizeof(INPUT));
while(PeekMessageW(&msg, hwnd, 0, 0, PM_REMOVE)){ while(PeekMessageW(&msg, hwnd, 0, 0, PM_REMOVE)){
if(msg.message == WM_KEYDOWN && msg.wParam == VK_PACKET){ if(msg.message == WM_KEYDOWN && msg.wParam == VK_PACKET){
TranslateMessage(&msg); TranslateMessage(&msg);
...@@ -1018,7 +1018,7 @@ static void test_unicode_keys(HWND hwnd, HHOOK hook) ...@@ -1018,7 +1018,7 @@ static void test_unicode_keys(HWND hwnd, HHOOK hook)
reset_key_status(); reset_key_status();
key_status.expect_alt = TRUE; key_status.expect_alt = TRUE;
SendInput(2, (INPUT*)inputs, sizeof(INPUT)); pSendInput(2, (INPUT*)inputs, sizeof(INPUT));
while(PeekMessageW(&msg, hwnd, 0, 0, PM_REMOVE)){ while(PeekMessageW(&msg, hwnd, 0, 0, PM_REMOVE)){
if(msg.message == WM_SYSKEYDOWN && msg.wParam == VK_PACKET){ if(msg.message == WM_SYSKEYDOWN && msg.wParam == VK_PACKET){
TranslateMessage(&msg); TranslateMessage(&msg);
...@@ -1045,7 +1045,7 @@ static void test_unicode_keys(HWND hwnd, HHOOK hook) ...@@ -1045,7 +1045,7 @@ static void test_unicode_keys(HWND hwnd, HHOOK hook)
reset_key_status(); reset_key_status();
key_status.expect_alt = TRUE; key_status.expect_alt = TRUE;
SendInput(2, (INPUT*)inputs, sizeof(INPUT)); pSendInput(2, (INPUT*)inputs, sizeof(INPUT));
while(PeekMessageW(&msg, hwnd, 0, 0, PM_REMOVE)){ while(PeekMessageW(&msg, hwnd, 0, 0, PM_REMOVE)){
if(msg.message == WM_SYSKEYDOWN && msg.wParam == VK_PACKET){ if(msg.message == WM_SYSKEYDOWN && msg.wParam == VK_PACKET){
TranslateMessage(&msg); TranslateMessage(&msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment