setupapi/tests: Remove some function pointer checks from testRegisterDeviceInfo.

This commit is contained in:
Paul Vriens 2008-06-20 16:18:14 +02:00 committed by Alexandre Julliard
parent 44499b5b0b
commit 6546cd5db2
1 changed files with 0 additions and 6 deletions

View File

@ -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,