From 91ce86e7730e0c55f9d515b759434571e71a5311 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Tue, 7 Dec 2004 07:15:26 +0000 Subject: [PATCH] * include/winnt.h (TOKEN_INFORMATION_CLASS): Add TokenGroupsAndPrivileges, TokenSessionReference, TokenSandBoxInert, TokenAuditPolicy, TokenOrigin. Reformat. (SID_NAME_USE): Add SidTypeComputer. Reformat. Thanks to Gabriel Linder --- winsup/w32api/ChangeLog | 9 +++++++++ winsup/w32api/include/winnt.h | 33 ++++++++++++++++++++++++++------- 2 files changed, 35 insertions(+), 7 deletions(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 42d86def6..13bc3b80b 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,12 @@ +2004-12-07 Danny Smith + + * include/winnt.h (TOKEN_INFORMATION_CLASS): Add + TokenGroupsAndPrivileges, TokenSessionReference, + TokenSandBoxInert, TokenAuditPolicy, TokenOrigin. + Reformat. + (SID_NAME_USE): Add SidTypeComputer. Reformat. + Thanks to Gabriel Linder + 2004-12-02 Danny Smith * lib/comctl32.def (ImageList_Copy, ImageList_DrawIndirect, diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h index 7f4cb32f8..d5c3b7807 100644 --- a/winsup/w32api/include/winnt.h +++ b/winsup/w32api/include/winnt.h @@ -2115,15 +2115,34 @@ typedef struct _SECURITY_DESCRIPTOR { PACL Dacl; } SECURITY_DESCRIPTOR, *PSECURITY_DESCRIPTOR, *PISECURITY_DESCRIPTOR; typedef enum _TOKEN_INFORMATION_CLASS { - TokenUser=1,TokenGroups,TokenPrivileges,TokenOwner, - TokenPrimaryGroup,TokenDefaultDacl,TokenSource,TokenType, - TokenImpersonationLevel,TokenStatistics,TokenRestrictedSids, - TokenSessionId + TokenUser=1, + TokenGroups, + TokenPrivileges, + TokenOwner, + TokenPrimaryGroup, + TokenDefaultDacl, + TokenSource, + TokenType, + TokenImpersonationLevel, + TokenStatistics, + TokenRestrictedSids, + TokenSessionId, + TokenGroupsAndPrivileges, + TokenSessionReference, + TokenSandBoxInert, + TokenAuditPolicy, + TokenOrigin } TOKEN_INFORMATION_CLASS; typedef enum _SID_NAME_USE { - SidTypeUser=1,SidTypeGroup,SidTypeDomain,SidTypeAlias, - SidTypeWellKnownGroup,SidTypeDeletedAccount,SidTypeInvalid, - SidTypeUnknown + SidTypeUser=1, + SidTypeGroup, + SidTypeDomain, + SidTypeAlias, + SidTypeWellKnownGroup, + SidTypeDeletedAccount, + SidTypeInvalid, + SidTypeUnknown, + SidTypeComputer } SID_NAME_USE,*PSID_NAME_USE; typedef struct _QUOTA_LIMITS { SIZE_T PagedPoolLimit;