setupapi/tests: Remove some function pointer checks from testRegisterDeviceInfo.
This commit is contained in:
parent
44499b5b0b
commit
6546cd5db2
|
@ -598,12 +598,6 @@ static void testRegisterDeviceInfo(void)
|
|||
BOOL ret;
|
||||
HDEVINFO set;
|
||||
|
||||
if (!pSetupDiCreateDeviceInfoList || !pSetupDiDestroyDeviceInfoList ||
|
||||
!pSetupDiRegisterDeviceInfo)
|
||||
{
|
||||
skip("No SetupDiRegisterDeviceInfo\n");
|
||||
return;
|
||||
}
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = pSetupDiRegisterDeviceInfo(NULL, NULL, 0, NULL, NULL, NULL);
|
||||
ok(!ret && GetLastError() == ERROR_INVALID_HANDLE,
|
||||
|
|
Loading…
Reference in New Issue