setupapi/tests: Use pSetupDiOpenClassRegKeyExA.

This commit is contained in:
Paul Vriens 2006-09-18 15:33:50 +02:00 committed by Alexandre Julliard
parent 0c7ecacf47
commit d51594d0d6
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ static void test_SetupDiOpenClassRegKeyExA(void)
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);