From d6f9de67b8e50c23b202ad497cb08e7ce2b75909 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Sat, 3 May 2008 16:49:19 +0200 Subject: [PATCH] setupapi/tests: Skip some tests on win9x. --- dlls/setupapi/tests/devinst.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/setupapi/tests/devinst.c b/dlls/setupapi/tests/devinst.c index f3f6c99ca92..afd186017a6 100644 --- a/dlls/setupapi/tests/devinst.c +++ b/dlls/setupapi/tests/devinst.c @@ -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); -- 2.11.4.GIT