From ce3fa8e861ef05ce08d27cf6c1fe016a38474845 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Wed, 25 Apr 2007 13:28:44 +0200 Subject: [PATCH] setupapi/tests: SetupDiCreateDeviceInfoListExW is not implemented on win98. --- 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 c47cd753b92..d0756b79463 100644 --- a/dlls/setupapi/tests/devinst.c +++ b/dlls/setupapi/tests/devinst.c @@ -62,6 +62,11 @@ static void test_SetupDiCreateDeviceInfoListEx(void) devlist = pSetupDiCreateDeviceInfoListExW(NULL, NULL, NULL, notnull); error = GetLastError(); + if (error == ERROR_CALL_NOT_IMPLEMENTED) + { + skip("SetupDiCreateDeviceInfoListExW is not implemented\n"); + return; + } ok(devlist == INVALID_HANDLE_VALUE, "SetupDiCreateDeviceInfoListExW failed : %p %d (expected %p)\n", devlist, error, INVALID_HANDLE_VALUE); ok(error == ERROR_INVALID_PARAMETER, "GetLastError returned wrong value : %d, (expected %d)\n", error, ERROR_INVALID_PARAMETER);