[ADVAPI32]
[reactos.git] / reactos / dll / win32 / advapi32 / sec / sec.c
index d41e92f..9b84496 100644 (file)
@@ -1,5 +1,4 @@
-/* $Id$
- *
+/*
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
  * FILE:            lib/advapi32/sec/sec.c
@@ -169,29 +168,6 @@ GetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR pSecurityDescriptor,
     return TRUE;
 }
 
-
-/*
- * @implemented
- */
-BOOL
-WINAPI
-InitializeSecurityDescriptor(PSECURITY_DESCRIPTOR pSecurityDescriptor,
-                             DWORD dwRevision)
-{
-    NTSTATUS Status;
-
-    Status = RtlCreateSecurityDescriptor(pSecurityDescriptor,
-                                         dwRevision);
-    if (!NT_SUCCESS(Status))
-    {
-        SetLastError(RtlNtStatusToDosError(Status));
-        return FALSE;
-    }
-
-    return TRUE;
-}
-
-
 /*
  * @implemented
  */
@@ -208,47 +184,6 @@ IsValidSecurityDescriptor(PSECURITY_DESCRIPTOR pSecurityDescriptor)
     return (BOOL)Result;
 }
 
-
-/*
- * @implemented
- */
-BOOL
-WINAPI
-MakeAbsoluteSD(PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor,
-               PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor,
-               LPDWORD lpdwAbsoluteSecurityDescriptorSize,
-               PACL pDacl,
-               LPDWORD lpdwDaclSize,
-               PACL pSacl,
-               LPDWORD lpdwSaclSize,
-               PSID pOwner,
-               LPDWORD lpdwOwnerSize,
-               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;
-}
-
-
 /*
  * @implemented
  */