mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
Move generic access rights to a common header file and add missing access rights.
svn path=/trunk/; revision=10283
This commit is contained in:
parent
8fb1163c02
commit
7d6581aebc
2 changed files with 6 additions and 4 deletions
|
@ -15,8 +15,6 @@
|
||||||
|
|
||||||
#ifndef __USE_W32API
|
#ifndef __USE_W32API
|
||||||
|
|
||||||
#define GENERIC_READ (0x80000000L)
|
|
||||||
#define GENERIC_WRITE (0x40000000L)
|
|
||||||
#define FILE_READ_DATA ( 0x0001 ) /* file & pipe */
|
#define FILE_READ_DATA ( 0x0001 ) /* file & pipe */
|
||||||
#define FILE_LIST_DIRECTORY ( 0x0001 ) /* directory */
|
#define FILE_LIST_DIRECTORY ( 0x0001 ) /* directory */
|
||||||
|
|
||||||
|
|
|
@ -122,9 +122,13 @@ typedef struct _SECURITY_DESCRIPTOR_CONTEXT
|
||||||
#define DOMAIN_ALIAS_RID_REPLICATOR (0x228L)
|
#define DOMAIN_ALIAS_RID_REPLICATOR (0x228L)
|
||||||
|
|
||||||
/* ACCESS_MASK */
|
/* ACCESS_MASK */
|
||||||
#define MAXIMUM_ALLOWED (0x02000000L)
|
/* Generic rights */
|
||||||
#define GENERIC_ALL (0x10000000L)
|
#define GENERIC_READ (0x80000000L)
|
||||||
|
#define GENERIC_WRITE (0x40000000L)
|
||||||
#define GENERIC_EXECUTE (0x20000000L)
|
#define GENERIC_EXECUTE (0x20000000L)
|
||||||
|
#define GENERIC_ALL (0x10000000L)
|
||||||
|
#define MAXIMUM_ALLOWED (0x02000000L)
|
||||||
|
#define ACCESS_SYSTEM_SECURITY (0x01000000L)
|
||||||
|
|
||||||
/* Standard rights */
|
/* Standard rights */
|
||||||
#define STANDARD_RIGHTS_REQUIRED (0x000f0000L)
|
#define STANDARD_RIGHTS_REQUIRED (0x000f0000L)
|
||||||
|
|
Loading…
Reference in a new issue