mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
do not call on NtQuerySecurityObject in RegQueryInfoKey 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=20437
This commit is contained in:
parent
3785fc8f82
commit
3930c5e306
1 changed files with 2 additions and 1 deletions
|
@ -3184,7 +3184,7 @@ RegQueryInfoKeyW (HKEY hKey,
|
|||
{
|
||||
*lpcbMaxValueLen = FullInfo->MaxValueDataLen;
|
||||
}
|
||||
|
||||
#ifndef __REACTOS__
|
||||
if (lpcbSecurityDescriptor != NULL)
|
||||
{
|
||||
Status = NtQuerySecurityObject(KeyHandle,
|
||||
|
@ -3207,6 +3207,7 @@ RegQueryInfoKeyW (HKEY hKey,
|
|||
goto Cleanup;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (lpftLastWriteTime != NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue