mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:45:46 +00:00
do not call on NtQuerySecurityObject in RegGetKeySecurity for it will always fail on reactos.
adding #ifndef __REACTOS__ around that code and should be remove when we have that call implement in reactos. svn path=/trunk/; revision=20439
This commit is contained in:
parent
5dfcacfa42
commit
b89e3ce2ba
1 changed files with 2 additions and 1 deletions
|
@ -2507,12 +2507,13 @@ RegGetKeySecurity(HKEY hKey,
|
|||
TRACE("MapDefaultKey() failed (Status %lx)\n", Status);
|
||||
return RtlNtStatusToDosError (Status);
|
||||
}
|
||||
|
||||
#ifndef __REACTOS__
|
||||
Status = NtQuerySecurityObject(KeyHandle,
|
||||
SecurityInformation,
|
||||
pSecurityDescriptor,
|
||||
*lpcbSecurityDescriptor,
|
||||
lpcbSecurityDescriptor);
|
||||
#endif
|
||||
|
||||
ClosePredefKey(KeyHandle);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue