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:
Magnus Olsen 2005-12-29 20:31:22 +00:00
parent 3785fc8f82
commit 3930c5e306

View file

@ -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)
{