TRACE("RegOpenKeyExA hKey 0x%x lpSubKey %s ulOptions 0x%x samDesired 0x%x phkResult %p\n",
hKey, lpSubKey, ulOptions, samDesired, phkResult);
- if (!phkResult)
+ if (!phkResult)
{
return ERROR_INVALID_PARAMETER;
}
TRACE("RegOpenKeyExW hKey 0x%x lpSubKey %S ulOptions 0x%x samDesired 0x%x phkResult %p\n",
hKey, lpSubKey, ulOptions, samDesired, phkResult);
- if (!phkResult)
+ if (!phkResult)
{
return ERROR_INVALID_PARAMETER;
}
TRACE("hKey 0x%X lpSubKey %S lpValue %p lpcbValue %d\n",
hKey, lpSubKey, lpValue, lpcbValue ? *lpcbValue : 0);
- if (hKey == NULL)
- {
- return ERROR_INVALID_HANDLE;
- }
+ if (hKey == NULL)
+ {
+ return ERROR_INVALID_HANDLE;
+ }
Status = MapDefaultKey(&KeyHandle,
hKey);
if (!NT_SUCCESS(Status))