setupapi/tests: Use pSetupDiOpenClassRegKeyExA.
This commit is contained in:
parent
0c7ecacf47
commit
d51594d0d6
|
@ -90,7 +90,7 @@ static void test_SetupDiOpenClassRegKeyExA(void)
|
||||||
HKEY hkey;
|
HKEY hkey;
|
||||||
|
|
||||||
/* Check return value for non-existent key */
|
/* Check return value for non-existent key */
|
||||||
hkey = SetupDiOpenClassRegKeyExA(&guid, KEY_ALL_ACCESS,
|
hkey = pSetupDiOpenClassRegKeyExA(&guid, KEY_ALL_ACCESS,
|
||||||
DIOCR_INSTALLER, NULL, NULL);
|
DIOCR_INSTALLER, NULL, NULL);
|
||||||
ok(hkey == INVALID_HANDLE_VALUE,
|
ok(hkey == INVALID_HANDLE_VALUE,
|
||||||
"returned %p (expected INVALID_HANDLE_VALUE)\n", hkey);
|
"returned %p (expected INVALID_HANDLE_VALUE)\n", hkey);
|
||||||
|
|
Loading…
Reference in New Issue