Commit dcb67841 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

Don't run tests on platforms that don't support WindowStation calls.

parent 463a655c
......@@ -203,5 +203,15 @@ static void test_handles(void)
START_TEST(winstation)
{
/* Check whether this platform supports WindowStation calls */
SetLastError( 0xdeadbeef );
GetProcessWindowStation();
if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
{
trace("WindowStation calls not supported on this platform\n");
return;
}
test_handles();
}
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