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:
Magnus Olsen 2005-12-29 21:01:51 +00:00
parent 5dfcacfa42
commit b89e3ce2ba

View file

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