setupapi/tests: SetupDiCreateDeviceInfoListExW is not implemented on win98.
This commit is contained in:
parent
67c26f4ec3
commit
ce3fa8e861
|
@ -62,6 +62,11 @@ static void test_SetupDiCreateDeviceInfoListEx(void)
|
||||||
devlist = pSetupDiCreateDeviceInfoListExW(NULL, NULL, NULL, notnull);
|
devlist = pSetupDiCreateDeviceInfoListExW(NULL, NULL, NULL, notnull);
|
||||||
|
|
||||||
error = GetLastError();
|
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(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);
|
ok(error == ERROR_INVALID_PARAMETER, "GetLastError returned wrong value : %d, (expected %d)\n", error, ERROR_INVALID_PARAMETER);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue