Paul Vriens : setupapi/tests: Skip some tests on win9x.
Alexandre Julliard
julliard at winehq.org
Mon May 5 07:14:44 CDT 2008
Module: wine
Branch: master
Commit: d6f9de67b8e50c23b202ad497cb08e7ce2b75909
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d6f9de67b8e50c23b202ad497cb08e7ce2b75909
Author: Paul Vriens <paul.vriens.wine at 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);
More information about the wine-cvs
mailing list