[setupapi/tests] Use pSetupDiOpenClassRegKeyExA
Paul Vriens
Paul.Vriens at xs4all.nl
Mon Sep 18 08:33:50 CDT 2006
Hi,
SetupDiOpenClassRegKeyExA doesn't exist on Win98 and NT4. The code was already
there but the wrong function was used (typo).
Changelog
Use pSetupDiOpenClassRegKeyExA
Cheers,
Paul.
---
dlls/setupapi/tests/devinst.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/setupapi/tests/devinst.c b/dlls/setupapi/tests/devinst.c
index 56d809e..703cfd9 100644
--- a/dlls/setupapi/tests/devinst.c
+++ b/dlls/setupapi/tests/devinst.c
@@ -90,7 +90,7 @@ static void test_SetupDiOpenClassRegKeyE
HKEY hkey;
/* Check return value for non-existent key */
- hkey = SetupDiOpenClassRegKeyExA(&guid, KEY_ALL_ACCESS,
+ hkey = pSetupDiOpenClassRegKeyExA(&guid, KEY_ALL_ACCESS,
DIOCR_INSTALLER, NULL, NULL);
ok(hkey == INVALID_HANDLE_VALUE,
"returned %p (expected INVALID_HANDLE_VALUE)\n", hkey);
--
1.4.2.1
More information about the wine-patches
mailing list