Made registry key handles inheritable.

svn path=/trunk/; revision=6245
This commit is contained in:
Filip Navara 2003-10-05 17:13:27 +00:00
parent d2734276cb
commit 03195d93a6

View file

@ -80,7 +80,7 @@ NtCreateKey(OUT PHANDLE KeyHandle,
Status = ObCreateHandle(PsGetCurrentProcess(),
Object,
DesiredAccess,
FALSE,
TRUE,
KeyHandle);
DPRINT("Status %x\n", Status);
@ -815,7 +815,7 @@ NtOpenKey(OUT PHANDLE KeyHandle,
Status = ObCreateHandle(PsGetCurrentProcess(),
Object,
DesiredAccess,
FALSE,
TRUE,
KeyHandle);
ObDereferenceObject(Object);