mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
Add missing security types in winnt.h
svn path=/trunk/; revision=16115
This commit is contained in:
parent
a43ea85ae0
commit
38765d4930
1 changed files with 29 additions and 0 deletions
|
@ -1136,6 +1136,7 @@ typedef DWORD FLONG;
|
|||
#define SE_SACL_AUTO_INHERITED 2048
|
||||
#define SE_DACL_PROTECTED 4096
|
||||
#define SE_SACL_PROTECTED 8192
|
||||
#define SE_RM_CONTROL_VALID 0x4000
|
||||
#define SE_SELF_RELATIVE 0x8000
|
||||
#define SECURITY_DESCRIPTOR_MIN_LENGTH 20
|
||||
#define SECURITY_DESCRIPTOR_REVISION 1
|
||||
|
@ -1359,6 +1360,34 @@ typedef struct _GUID {
|
|||
} GUID, *REFGUID, *LPGUID;
|
||||
#define SYSTEM_LUID { QuadPart:999 }
|
||||
#endif /* GUID_DEFINED */
|
||||
|
||||
/* ACE Access Types, also in ntifs.h */
|
||||
#define ACCESS_MIN_MS_ACE_TYPE (0x0)
|
||||
#define ACCESS_ALLOWED_ACE_TYPE (0x0)
|
||||
#define ACCESS_DENIED_ACE_TYPE (0x1)
|
||||
#define SYSTEM_AUDIT_ACE_TYPE (0x2)
|
||||
#define SYSTEM_ALARM_ACE_TYPE (0x3)
|
||||
#define ACCESS_MAX_MS_V2_ACE_TYPE (0x3)
|
||||
#define ACCESS_ALLOWED_COMPOUND_ACE_TYPE (0x4)
|
||||
#define ACCESS_MAX_MS_V3_ACE_TYPE (0x4)
|
||||
#define ACCESS_MIN_MS_OBJECT_ACE_TYPE (0x5)
|
||||
#define ACCESS_ALLOWED_OBJECT_ACE_TYPE (0x5)
|
||||
#define ACCESS_DENIED_OBJECT_ACE_TYPE (0x6)
|
||||
#define SYSTEM_AUDIT_OBJECT_ACE_TYPE (0x7)
|
||||
#define SYSTEM_ALARM_OBJECT_ACE_TYPE (0x8)
|
||||
#define ACCESS_MAX_MS_OBJECT_ACE_TYPE (0x8)
|
||||
#define ACCESS_MAX_MS_V4_ACE_TYPE (0x8)
|
||||
#define ACCESS_MAX_MS_ACE_TYPE (0x8)
|
||||
#define ACCESS_ALLOWED_CALLBACK_ACE_TYPE (0x9)
|
||||
#define ACCESS_DENIED_CALLBACK_ACE_TYPE (0xA)
|
||||
#define ACCESS_ALLOWED_CALLBACK_OBJECT_ACE_TYPE (0xB)
|
||||
#define ACCESS_DENIED_CALLBACK_OBJECT_ACE_TYPE (0xC)
|
||||
#define SYSTEM_AUDIT_CALLBACK_ACE_TYPE (0xD)
|
||||
#define SYSTEM_ALARM_CALLBACK_ACE_TYPE (0xE)
|
||||
#define SYSTEM_AUDIT_CALLBACK_OBJECT_ACE_TYPE (0xF)
|
||||
#define SYSTEM_ALARM_CALLBACK_OBJECT_ACE_TYPE (0x10)
|
||||
#define ACCESS_MAX_MS_V5_ACE_TYPE (0x10)
|
||||
/* end ntifs.h */
|
||||
typedef struct _GENERIC_MAPPING {
|
||||
ACCESS_MASK GenericRead;
|
||||
ACCESS_MASK GenericWrite;
|
||||
|
|
Loading…
Reference in a new issue