mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[ADVAPI32]
Formatting, no code changes. svn path=/trunk/; revision=56451
This commit is contained in:
parent
534c5372c2
commit
a450c4e88d
1 changed files with 18 additions and 18 deletions
|
@ -226,26 +226,26 @@ MakeAbsoluteSD(PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor,
|
|||
PSID pPrimaryGroup,
|
||||
LPDWORD lpdwPrimaryGroupSize)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
NTSTATUS Status;
|
||||
|
||||
Status = RtlSelfRelativeToAbsoluteSD (pSelfRelativeSecurityDescriptor,
|
||||
pAbsoluteSecurityDescriptor,
|
||||
lpdwAbsoluteSecurityDescriptorSize,
|
||||
pDacl,
|
||||
lpdwDaclSize,
|
||||
pSacl,
|
||||
lpdwSaclSize,
|
||||
pOwner,
|
||||
lpdwOwnerSize,
|
||||
pPrimaryGroup,
|
||||
lpdwPrimaryGroupSize);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
SetLastError (RtlNtStatusToDosError (Status));
|
||||
return FALSE;
|
||||
}
|
||||
Status = RtlSelfRelativeToAbsoluteSD(pSelfRelativeSecurityDescriptor,
|
||||
pAbsoluteSecurityDescriptor,
|
||||
lpdwAbsoluteSecurityDescriptorSize,
|
||||
pDacl,
|
||||
lpdwDaclSize,
|
||||
pSacl,
|
||||
lpdwSaclSize,
|
||||
pOwner,
|
||||
lpdwOwnerSize,
|
||||
pPrimaryGroup,
|
||||
lpdwPrimaryGroupSize);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
SetLastError(RtlNtStatusToDosError(Status));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue