Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <200101260745.IAA17896@mailhost.ri.silicomp.fr> From: Eric PAIRE To: cygwin AT cygwin DOT com Subject: missing typedef in winnt.h Reply-To: Eric PAIRE X-url: http://www.ri.silicomp.com/~paire Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 26 Jan 2001 08:45:20 +0100 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 DOT paire AT ri DOT silicomp DOT 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