user32/tests: Skip some tests if SetForegroundWindow doesn't behave correctly.
This commit is contained in:
parent
fa212d5127
commit
d00ad7f197
|
@ -2398,7 +2398,11 @@ static void test_SetForegroundWindow(HWND hwnd)
|
|||
check_wnd_state(0, 0, 0, 0);
|
||||
|
||||
ret = SetForegroundWindow(hwnd);
|
||||
ok(ret, "SetForegroundWindow returned FALSE instead of TRUE\n");
|
||||
if (!ret)
|
||||
{
|
||||
skip( "SetForegroundWindow not working\n" );
|
||||
return;
|
||||
}
|
||||
check_wnd_state(hwnd, hwnd, hwnd, 0);
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
|
|
Loading…
Reference in New Issue