mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
open subkey with sufficient rights in RegDeleteTree
svn path=/trunk/; revision=17536
This commit is contained in:
parent
8d862306ef
commit
3b35dd5038
1 changed files with 1 additions and 1 deletions
|
@ -938,7 +938,7 @@ RegDeleteTreeW(IN HKEY hKey,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
Status = NtOpenKey(&SubKeyHandle,
|
Status = NtOpenKey(&SubKeyHandle,
|
||||||
KEY_READ,
|
DELETE | KEY_ENUMERATE_SUB_KEYS | KEY_QUERY_VALUE,
|
||||||
&ObjectAttributes);
|
&ObjectAttributes);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue