[ADVAPI32]

- Don't skip NtQuerySecurityObject calls. The kernel can handle then just fine.

svn path=/trunk/; revision=63775
This commit is contained in:
Thomas Faber 2014-07-29 21:00:30 +00:00
parent bbe1e6a3ae
commit 0f63f7e80c

View file

@ -3168,13 +3168,11 @@ RegGetKeySecurity(HKEY hKey,
return RtlNtStatusToDosError(Status);
}
#if 0
Status = NtQuerySecurityObject(KeyHandle,
SecurityInformation,
pSecurityDescriptor,
*lpcbSecurityDescriptor,
lpcbSecurityDescriptor);
#endif
ClosePredefKey(KeyHandle);
@ -3896,7 +3894,6 @@ RegQueryInfoKeyW(HKEY hKey,
*lpcbMaxValueLen = FullInfo->MaxValueDataLen;
}
#if 0
if (lpcbSecurityDescriptor != NULL)
{
Status = NtQuerySecurityObject(KeyHandle,
@ -3919,7 +3916,6 @@ RegQueryInfoKeyW(HKEY hKey,
goto Cleanup;
}
}
#endif
if (lpftLastWriteTime != NULL)
{