HCELL_INDEX ParentCellOffset;
PCM_KEY_NODE ParentKeyCell;
PLIST_ENTRY Ptr;
- PCM_KEY_NODE SubKeyCell;
HCELL_INDEX BlockOffset;
DPRINT("RegpCreateOrOpenKey('%S')\n", KeyName);
if (!NT_SUCCESS(Status))
{
- DPRINT("RegpCreateOrOpenKey('%S'): Could not create or open subkey '%wZ', Status 0x%08x\n", KeyName, &KeyString, Status);
+ DPRINT("RegpCreateOrOpenKey('%S'): Could not create or open subkey '%.*S', Status 0x%08x\n",
+ KeyName, (int)(KeyString.Length / sizeof(WCHAR)), KeyString.Buffer, Status);
return ERROR_GEN_FAILURE; // STATUS_UNSUCCESSFUL;
}
else
{
hTargetKey = hKey;
+ rc = ERROR_SUCCESS;
}
/* Don't allow deleting the root */
/* Release the cell */
HvReleaseCell(Hive, ParentCell);
}
+
+ rc = ERROR_SUCCESS;
}
else
{