diff --git a/reactos/include/ntos/file.h b/reactos/include/ntos/file.h index 64cebf144bc..767dbda7376 100644 --- a/reactos/include/ntos/file.h +++ b/reactos/include/ntos/file.h @@ -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 */ diff --git a/reactos/include/ntos/security.h b/reactos/include/ntos/security.h index cc1b6d0d642..929be26a1b7 100644 --- a/reactos/include/ntos/security.h +++ b/reactos/include/ntos/security.h @@ -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)