mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Made registry key handles inheritable.
svn path=/trunk/; revision=6245
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user