Module: wine Branch: master Commit: 44499b5b0b6b87407aa0f3f544e6dbf965bd8171 URL: http://source.winehq.org/git/wine.git/?a=commit;h=44499b5b0b6b87407aa0f3f544...
Author: Paul Vriens paul.vriens.wine@gmail.com Date: Fri Jun 20 16:09:55 2008 +0200
setupapi/tests: Remove win9x specifics from testDevRegKey.
---
dlls/setupapi/tests/devinst.c | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/dlls/setupapi/tests/devinst.c b/dlls/setupapi/tests/devinst.c index dcd2eb6..7604095 100644 --- a/dlls/setupapi/tests/devinst.c +++ b/dlls/setupapi/tests/devinst.c @@ -903,23 +903,8 @@ static void testDevRegKey(void) HDEVINFO set; HKEY key = NULL;
- if (!pSetupDiCreateDeviceInfoList || !pSetupDiDestroyDeviceInfoList || - !pSetupDiCreateDeviceInfoA || !pSetupDiOpenDevRegKey || - !pSetupDiRegisterDeviceInfo || !pSetupDiCreateDevRegKeyW || - !pSetupDiCallClassInstaller) - { - skip("No SetupDiOpenDevRegKey\n"); - return; - } - - /* Check if we are on win9x */ SetLastError(0xdeadbeef); key = pSetupDiCreateDevRegKeyW(NULL, NULL, 0, 0, 0, NULL, NULL); - if (key == INVALID_HANDLE_VALUE && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED) - { - skip("We are on win9x where the tests introduce issues\n"); - return; - } ok(key == INVALID_HANDLE_VALUE, "Expected INVALID_HANDLE_VALUE, got %p\n", key); ok(GetLastError() == ERROR_INVALID_HANDLE,