Add missing security constants.
authorEric Kohl <eric.kohl@reactos.org>
Sun, 11 Jul 2004 16:09:37 +0000 (16:09 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 11 Jul 2004 16:09:37 +0000 (16:09 +0000)
svn path=/trunk/; revision=10080

reactos/include/ddk/setypes.h

index 087e110..b6a5e0e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: setypes.h,v 1.14 2004/07/07 17:20:35 ekohl Exp $
+/* $Id: setypes.h,v 1.15 2004/07/11 16:09:37 ekohl Exp $
  *
  * COPYRIGHT:         See COPYING in the top level directory for details
  * PROJECT:           ReactOS kernel
@@ -51,6 +51,7 @@
 
 /* SECURITY_DESCRIPTOR_CONTROL */
 #define SECURITY_DESCRIPTOR_REVISION   (1)
+#define SECURITY_DESCRIPTOR_REVISION1  (1)
 #define SECURITY_DESCRIPTOR_MIN_LENGTH (20)
 #define SE_OWNER_DEFAULTED     (1)
 #define SE_GROUP_DEFAULTED     (2)
 #define SE_PRIVILEGE_USED_FOR_ACCESS   (0x80000000L)
 #define PRIVILEGE_SET_ALL_NECESSARY    (0x1)
 
+/* SID */
+#define SID_REVISION           (1)
+#define SID_MAX_SUB_AUTHORITIES        (15)
+
 typedef struct _ACCESS_TOKEN
 {
   TOKEN_SOURCE                 TokenSource;               /* 0x00 */