Module: wine Branch: master Commit: d6f9de67b8e50c23b202ad497cb08e7ce2b75909 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d6f9de67b8e50c23b202ad497c...
Author: Paul Vriens paul.vriens.wine@gmail.com Date: Sat May 3 16:49:19 2008 +0200
setupapi/tests: Skip some tests on win9x.
---
dlls/setupapi/tests/devinst.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/setupapi/tests/devinst.c b/dlls/setupapi/tests/devinst.c index f3f6c99..afd1860 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);