Re: [PATCH] Add missing definitions to winnt.h

Danny Smith <[email protected]>
Newsgroups gmane.comp.gnu.mingw.patches
Message-ID <000001c21b38$ed1a2f70$8c9aa7cb@DANNY>
Casper, with exception of the defines I queried ealier, I have committed
the winnt.h patch.
FILE_SPECIAL_ACCESS went into winioctl.h.

2002-06-24  Danny Smith  <[email protected]>

 * include/winioctl.h (FILE_SPECIAL_ACCESS): Add define.

2002-06-24  Casper S. Hornstrup  <[email protected]>

 * include/winnt.h (PCCHAR, FCHAR, FSHORT, FLONG,
 PLUID_AND_ATTRIBUTES,PSECURITY_IMPERSONATION_LEVEL,
 PSID_AND_ATTRIBUTES, PTOKEN_TYPE, PTOKEN_STATISTICS):
 Add typedefs.
 (CCHAR): Correct typedef.
 (PROCESS_SET_SESSIONID, SECURITY_*,SECTION_MAP_EXECUTE):
 Add defines.


Danny

----- Original Message -----
From: "Danny Smith" <[email protected]>
To: "Casper Hornstrup" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, 19 June 2002 11:10
Subject: Re: [MinGW-patches] [PATCH] Add missing definitions to winnt.h


> ---- 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    <<<
>
> _______________________________________________
> MinGW-patches mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-patches




-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.