setupapi/tests: Skip some tests on win9x.

This commit is contained in:
Paul Vriens 2008-05-03 16:49:19 +02:00 committed by Alexandre Julliard
parent 53eacee0da
commit d6f9de67b8
1 changed files with 5 additions and 0 deletions

View File

@ -965,6 +965,11 @@ static void testDeviceRegistryPropertyW()
SetLastError(0xdeadbeef);
set = pSetupDiGetClassDevsW(&guid, NULL, 0, DIGCF_DEVICEINTERFACE);
if (set == INVALID_HANDLE_VALUE && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
{
skip("W-functions are not implemented\n");
return;
}
ok(set != INVALID_HANDLE_VALUE, "SetupDiGetClassDevsW failed: %08x\n",
GetLastError());
SetLastError(0xdeadbeef);