Re: [PATCH] Add missing definitions to winnt.h
Danny Smith <[email protected]>
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <002401c2171d$69d08980$d990a7cb@DANNY> |
---- Original Message ----- From: "Casper Hornstrup" <[email protected]> To: <[email protected]> Sent: Tuesday, 18 June 2002 06:35 Subject: [MinGW-patches] [PATCH] Add missing definitions to winnt.h > @@ -205,6 +208,8 @@ > #define FILE_DELETE_CHILD 64 > #define FILE_READ_ATTRIBUTES 128 > #define FILE_WRITE_ATTRIBUTES 256 > +#define FILE_ANY_ACCESS 0 > +#define FILE_SPECIAL_ACCESS (FILE_ANY_ACCESS) ??? Can't find documentation for above > @@ -264,6 +270,9 @@ > #define PROCESS_SET_QUOTA 256 > #define PROCESS_SET_INFORMATION 512 > #define PROCESS_QUERY_INFORMATION 1024 > +#define PROCESS_READ 0x020410 > +#define PROCESS_WRITE 0x020beb > +#define PROCESS_EXECUTE 0x120000L ??? Can't find documentation for above > @@ -311,6 +320,42 @@ > +#define SE_MIN_WELL_KNOWN_PRIVILEGE 2 > +#define SE_CREATE_TOKEN_PRIVILEGE 2 > +#define SE_ASSIGNPRIMARYTOKEN_PRIVILEGE 3 > +#define SE_LOCK_MEMORY_PRIVILEGE 4 > +#define SE_INCREASE_QUOTA_PRIVILEGE 5 > +#define SE_UNSOLICITED_INPUT_PRIVILEGE 6 > +#define SE_MACHINE_ACCOUNT_PRIVILEGE 6 > +#define SE_TCB_PRIVILEGE 7 > +#define SE_SECURITY_PRIVILEGE 8 > +#define SE_TAKE_OWNERSHIP_PRIVILEGE 9 > +#define SE_LOAD_DRIVER_PRIVILEGE 10 > +#define SE_SYSTEM_PROFILE_PRIVILEGE 11 > +#define SE_SYSTEMTIME_PRIVILEGE 12 > +#define SE_PROF_SINGLE_PROCESS_PRIVILEGE 13 > +#define SE_INC_BASE_PRIORITY_PRIVILEGE 14 > +#define SE_CREATE_PAGEFILE_PRIVILEGE 15 > +#define SE_CREATE_PERMANENT_PRIVILEGE 16 > +#define SE_BACKUP_PRIVILEGE 17 > +#define SE_RESTORE_PRIVILEGE 18 > +#define SE_SHUTDOWN_PRIVILEGE 19 > +#define SE_DEBUG_PRIVILEGE 20 > +#define SE_AUDIT_PRIVILEGE 21 > +#define SE_SYSTEM_ENVIRONMENT_PRIVILEGE 22 > +#define SE_CHANGE_NOTIFY_PRIVILEGE 23 > +#define SE_REMOTE_SHUTDOWN_PRIVILEGE 24 > +#define SE_MAX_WELL_KNOWN_PRIVILEGE SE_REMOTE_SHUTDOWN_PRIVILEGE ??? Can't find documentation for above > @@ -648,6 +693,8 @@ > #define MEM_PHYSICAL 0x400000 > #define MEM_4MB_PAGES 0x80000000 > #define MEM_IMAGE 16777216 > +#define SEC_BASED 0x00200000 > +#define SEC_NO_CHANGE 0x00400000 ??? Can't find documentation for above Help, please. Danny ---------------------------------------------------------------------------- Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf <<<