setupapi/tests: SetupDiCreateDeviceInfoListExW is not implemented on win98.

This commit is contained in:
Paul Vriens 2007-04-25 13:28:44 +02:00 committed by Alexandre Julliard
parent 67c26f4ec3
commit ce3fa8e861
1 changed files with 5 additions and 0 deletions

View File

@ -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);