missing typedef in winnt.h

Eric PAIRE eric.paire@ri.silicomp.com
Thu Jan 25 23:45:00 GMT 2001


Hi cygwin people,

The PTOKEN_USER typedef has been forgotten in the w32api/include/winnt.h,
although documented by Microsoft at
http://msdn.microsoft.com/library/psdk/winbase/accctrl_18qa.htm
Here is an obvious patch to add it.

Best regards,
-Eric
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ Eric PAIRE
Web  : http://www.ri.silicomp.com/~paire  | Groupe SILICOMP - Research Institute
Email: eric.paire@ri.silicomp.com         | 2, avenue de Vignate
Phone: +33 (0) 476 63 48 71               | F-38610 Gieres
Fax  : +33 (0) 476 51 05 32               | FRANCE
------  Cut Here  ------  Cut Here  ------  Cut Here  ------  Cut Here  ------
*** cygwin-1.1.7-1/winsup/w32api/include/winnt.h	Fri Jan 26 08:42:54 2001
--- cygwin-1.1.7-1/winsup/w32api/include/winnt.h~	Mon Dec 25 17:43:22 2000
***************
*** 1791,1797 ****
  } TOKEN_STATISTICS;
  typedef struct _TOKEN_USER {
  	SID_AND_ATTRIBUTES User;
! } TOKEN_USER, *PTOKEN_USER;
  typedef DWORD SECURITY_INFORMATION,*PSECURITY_INFORMATION;
  typedef WORD SECURITY_DESCRIPTOR_CONTROL,*PSECURITY_DESCRIPTOR_CONTROL;
  typedef struct _SECURITY_DESCRIPTOR {
--- 1791,1797 ----
  } TOKEN_STATISTICS;
  typedef struct _TOKEN_USER {
  	SID_AND_ATTRIBUTES User;
! } TOKEN_USER;
  typedef DWORD SECURITY_INFORMATION,*PSECURITY_INFORMATION;
  typedef WORD SECURITY_DESCRIPTOR_CONTROL,*PSECURITY_DESCRIPTOR_CONTROL;
  typedef struct _SECURITY_DESCRIPTOR {



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list