mirror of
https://github.com/reactos/reactos.git
synced 2025-02-21 16:04:57 +00:00
[NTOS:CM] Report key creation to the notify code
This commit is contained in:
parent
0c15f7d183
commit
9ff015f770
1 changed files with 6 additions and 0 deletions
|
@ -379,6 +379,12 @@ CmpDoCreateChild(IN PHHIVE Hive,
|
|||
/* Now that the security descriptor is copied in the hive, we can free the original */
|
||||
SeDeassignSecurity(&NewDescriptor);
|
||||
|
||||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
/* Send notification to registered callbacks */
|
||||
CmpReportNotify(Kcb, Hive, Kcb->KeyCell, REG_NOTIFY_CHANGE_NAME);
|
||||
}
|
||||
|
||||
Quickie:
|
||||
/* Check if we got here because of failure */
|
||||
if (!NT_SUCCESS(Status))
|
||||
|
|
Loading…
Reference in a new issue