Module: wine Branch: master Commit: ce3fa8e861ef05ce08d27cf6c1fe016a38474845 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ce3fa8e861ef05ce08d27cf6c1...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Wed Apr 25 13:28:44 2007 +0200
setupapi/tests: SetupDiCreateDeviceInfoListExW is not implemented on win98.
---
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 c47cd75..d0756b7 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);