-/* $Id$
- *
+/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* FILE: lib/advapi32/sec/sec.c
PSID pPrimaryGroup,
LPDWORD lpdwPrimaryGroupSize)
{
- NTSTATUS Status;
-
- Status = RtlSelfRelativeToAbsoluteSD (pSelfRelativeSecurityDescriptor,
- pAbsoluteSecurityDescriptor,
- lpdwAbsoluteSecurityDescriptorSize,
- pDacl,
- lpdwDaclSize,
- pSacl,
- lpdwSaclSize,
- pOwner,
- lpdwOwnerSize,
- pPrimaryGroup,
- lpdwPrimaryGroupSize);
- if (!NT_SUCCESS(Status))
- {
- SetLastError (RtlNtStatusToDosError (Status));
- return FALSE;
- }
-
- return TRUE;
+ NTSTATUS Status;
+
+ Status = RtlSelfRelativeToAbsoluteSD(pSelfRelativeSecurityDescriptor,
+ pAbsoluteSecurityDescriptor,
+ lpdwAbsoluteSecurityDescriptorSize,
+ pDacl,
+ lpdwDaclSize,
+ pSacl,
+ lpdwSaclSize,
+ pOwner,
+ lpdwOwnerSize,
+ pPrimaryGroup,
+ lpdwPrimaryGroupSize);
+ if (!NT_SUCCESS(Status))
+ {
+ SetLastError(RtlNtStatusToDosError(Status));
+ return FALSE;
+ }
+
+ return TRUE;
}