implement MakeAbsoluteSD2 by forwarding to RtlSelfRelativeToAbsoluteSD2

svn path=/trunk/; revision=18718
This commit is contained in:
Thomas Bluemel 2005-10-23 18:23:57 +00:00
parent af1b54ef10
commit c0bbaf7802
5 changed files with 33 additions and 2 deletions

View file

@ -539,6 +539,14 @@ RtlSelfRelativeToAbsoluteSD(
IN PULONG PrimaryGroupSize
);
NTSYSAPI
NTSTATUS
NTAPI
RtlSelfRelativeToAbsoluteSD2(
IN OUT PSECURITY_DESCRIPTOR SelfRelativeSD,
OUT PULONG BufferSize
);
NTSYSAPI
NTSTATUS
NTAPI

View file

@ -413,7 +413,7 @@ MD5Update@12
;MSChapSrvChangePassword
;MSChapSrvChangePassword2
MakeAbsoluteSD@44
;MakeAbsoluteSD2
MakeAbsoluteSD2@8
MakeSelfRelativeSD@12
MapGenericMask@8=NTDLL.RtlMapGenericMask
NotifyBootConfigStatus@4

View file

@ -268,6 +268,28 @@ MakeAbsoluteSD (
}
/*
* @implemented
*/
BOOL
STDCALL
MakeAbsoluteSD2(IN OUT PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor,
OUT LPDWORD lpdwBufferSize)
{
NTSTATUS Status;
Status = RtlSelfRelativeToAbsoluteSD2(pSelfRelativeSecurityDescriptor,
lpdwBufferSize);
if (!NT_SUCCESS(Status))
{
SetLastError (RtlNtStatusToDosError (Status));
return FALSE;
}
return TRUE;
}
/*
* @implemented
*/

View file

@ -606,6 +606,7 @@ RtlRunDecodeUnicodeString@8
RtlRunEncodeUnicodeString@8
RtlSecondsSince1970ToTime@8
RtlSecondsSince1980ToTime@8
RtlSelfRelativeToAbsoluteSD2@8
RtlSelfRelativeToAbsoluteSD@44
RtlSetAllBits@4
RtlSetAttributesSecurityDescriptor@12

View file

@ -729,7 +729,7 @@ RtlSelfRelativeToAbsoluteSD(PISECURITY_DESCRIPTOR RelSD,
* @unimplemented
*/
NTSTATUS NTAPI
RtlSelfRelativeToAbsoluteSD2(PISECURITY_DESCRIPTOR_RELATIVE SelfRelativeSecurityDescriptor,
RtlSelfRelativeToAbsoluteSD2(PISECURITY_DESCRIPTOR SelfRelativeSecurityDescriptor,
PULONG BufferSize)
{
UNIMPLEMENTED;