Implement RtlAbsoluteToSelfRelativeSD.

This commit is contained in:
James Hawkins 2005-06-13 11:34:02 +00:00 committed by Alexandre Julliard
parent f7a9c49738
commit d27d5b0a26
1 changed files with 9 additions and 2 deletions

View File

@ -862,9 +862,16 @@ NTSTATUS WINAPI RtlAbsoluteToSelfRelativeSD(
PSECURITY_DESCRIPTOR SelfRelativeSecurityDescriptor,
PULONG BufferLength)
{
FIXME("%p %p %p\n", AbsoluteSecurityDescriptor,
SECURITY_DESCRIPTOR *abs = AbsoluteSecurityDescriptor;
TRACE("%p %p %p\n", AbsoluteSecurityDescriptor,
SelfRelativeSecurityDescriptor, BufferLength);
return STATUS_NOT_IMPLEMENTED;
if (abs->Control & SE_SELF_RELATIVE)
return STATUS_BAD_DESCRIPTOR_FORMAT;
return RtlMakeSelfRelativeSD(AbsoluteSecurityDescriptor,
SelfRelativeSecurityDescriptor, BufferLength);
}