mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 14:53:09 +00:00
NtCreateKey() must return STATUS_OBJECT_NAME_NOT_FOUND if the caller tries to create a tree instead of a single key.
svn path=/trunk/; revision=4324
This commit is contained in:
parent
b5d59b0618
commit
55d730e10e
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ NtCreateKey(OUT PHANDLE KeyHandle,
|
||||||
if (End != NULL)
|
if (End != NULL)
|
||||||
{
|
{
|
||||||
ObDereferenceObject(Object);
|
ObDereferenceObject(Object);
|
||||||
return STATUS_UNSUCCESSFUL;
|
return STATUS_OBJECT_NAME_NOT_FOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
DPRINT("RemainingPath %S ParentObject %x\n", RemainingPath.Buffer, Object);
|
DPRINT("RemainingPath %S ParentObject %x\n", RemainingPath.Buffer, Object);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue