svn path=/trunk/; revision=14849
NTSTATUS Status;
DPRINT("RegOpenKeyA hKey 0x%x lpSubKey %s phkResult %p\n", hKey, lpSubKey, phkResult);
+
+ // Check input params
+ if (phkResult == NULL) return ERROR_INVALID_PARAMETER;
+
Status = MapDefaultKey (&KeyHandle,
hKey);
if (!NT_SUCCESS(Status))
NTSTATUS Status;
DPRINT("RegOpenKeyW hKey 0x%x lpSubKey %S phkResult %p\n", hKey, lpSubKey, phkResult);
+
+ // Check input params
+ if (phkResult == NULL) return ERROR_INVALID_PARAMETER;
+
Status = MapDefaultKey (&KeyHandle,
hKey);
if (!NT_SUCCESS(Status))