Commit 5909b0de authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

Forward GetPrivate/KernelObjectSecurity to NtQuerySecurityObject.

parent 6f686490
......@@ -640,6 +640,9 @@ BOOL WINAPI MakeAbsoluteSD (
pPrimaryGroup, lpdwPrimaryGroupSize));
}
/******************************************************************************
* GetKernelObjectSecurity [ADVAPI32.@]
*/
BOOL WINAPI GetKernelObjectSecurity(
HANDLE Handle,
SECURITY_INFORMATION RequestedInformation,
......@@ -647,12 +650,16 @@ BOOL WINAPI GetKernelObjectSecurity(
DWORD nLength,
LPDWORD lpnLengthNeeded )
{
FIXME("%p 0x%08lx %p 0x%08lx %p - stub\n", Handle, RequestedInformation,
TRACE("(%p,0x%08lx,%p,0x%08lx,%p)\n", Handle, RequestedInformation,
pSecurityDescriptor, nLength, lpnLengthNeeded);
return FALSE;
return set_ntstatus( NtQuerySecurityObject(Handle, RequestedInformation, pSecurityDescriptor,
nLength, lpnLengthNeeded ));
}
/******************************************************************************
* GetPrivateObjectSecurity [ADVAPI32.@]
*/
BOOL WINAPI GetPrivateObjectSecurity(
PSECURITY_DESCRIPTOR ObjectDescriptor,
SECURITY_INFORMATION SecurityInformation,
......@@ -660,10 +667,11 @@ BOOL WINAPI GetPrivateObjectSecurity(
DWORD DescriptorLength,
PDWORD ReturnLength )
{
FIXME("%p 0x%08lx %p 0x%08lx %p - stub\n", ObjectDescriptor, SecurityInformation,
TRACE("(%p,0x%08lx,%p,0x%08lx,%p)\n", ObjectDescriptor, SecurityInformation,
ResultantDescriptor, DescriptorLength, ReturnLength);
return FALSE;
return set_ntstatus( NtQuerySecurityObject(ObjectDescriptor, SecurityInformation,
ResultantDescriptor, DescriptorLength, ReturnLength ));
}
/******************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment