FoundObject->KeyControlBlock = Kcb;
ASSERT(FoundObject->KeyControlBlock->KeyHive == ParsedKey->KeyControlBlock->KeyHive);
RtlpCreateUnicodeString(&FoundObject->Name, KeyName.Buffer, NonPagedPool);
- CmiAddKeyToList(ParsedKey->KeyControlBlock, FoundObject);
+ InsertTailList(&ParsedKey->KeyControlBlock->KeyBodyListHead, &FoundObject->KeyBodyEntry);
DPRINT("Created object 0x%p\n", FoundObject);
}
else
return STATUS_SUCCESS;
}
-VOID
-CmiAddKeyToList(PCM_KEY_CONTROL_BLOCK ParentKey,
- PKEY_OBJECT NewKey)
-{
- InsertTailList(&ParentKey->KeyBodyListHead, &NewKey->KeyBodyEntry);
-}
-
static NTSTATUS
CmiGetLinkTarget(PCMHIVE RegistryHive,
PCM_KEY_NODE KeyCell,