Move generic access rights to a common header file and add missing access rights.

svn path=/trunk/; revision=10283
This commit is contained in:
Eric Kohl 2004-07-25 12:36:45 +00:00
parent 8fb1163c02
commit 7d6581aebc
2 changed files with 6 additions and 4 deletions

View file

@ -15,8 +15,6 @@
#ifndef __USE_W32API
#define GENERIC_READ (0x80000000L)
#define GENERIC_WRITE (0x40000000L)
#define FILE_READ_DATA ( 0x0001 ) /* file & pipe */
#define FILE_LIST_DIRECTORY ( 0x0001 ) /* directory */

View file

@ -122,9 +122,13 @@ typedef struct _SECURITY_DESCRIPTOR_CONTEXT
#define DOMAIN_ALIAS_RID_REPLICATOR (0x228L)
/* ACCESS_MASK */
#define MAXIMUM_ALLOWED (0x02000000L)
#define GENERIC_ALL (0x10000000L)
/* Generic rights */
#define GENERIC_READ (0x80000000L)
#define GENERIC_WRITE (0x40000000L)
#define GENERIC_EXECUTE (0x20000000L)
#define GENERIC_ALL (0x10000000L)
#define MAXIMUM_ALLOWED (0x02000000L)
#define ACCESS_SYSTEM_SECURITY (0x01000000L)
/* Standard rights */
#define STANDARD_RIGHTS_REQUIRED (0x000f0000L)