mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 04:20:46 +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)
|
||||
{
|
||||
ObDereferenceObject(Object);
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
return STATUS_OBJECT_NAME_NOT_FOUND;
|
||||
}
|
||||
|
||||
DPRINT("RemainingPath %S ParentObject %x\n", RemainingPath.Buffer, Object);
|
||||
|
|
Loading…
Reference in a new issue