Detlef Riekenberg : include: Add more TOKEN_INFORMATION_CLASS result struct .

Alexandre Julliard julliard at winehq.org
Mon Aug 23 10:50:19 CDT 2010


Module: wine
Branch: master
Commit: 2e5d7064a62b106701eba0ebd807399a9cba59e1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2e5d7064a62b106701eba0ebd807399a9cba59e1

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Sun Aug 22 11:31:47 2010 +0200

include: Add more TOKEN_INFORMATION_CLASS result struct.

---

 include/winnt.h |   28 +++++++++++++++++++++++++++-
 1 files changed, 27 insertions(+), 1 deletions(-)

diff --git a/include/winnt.h b/include/winnt.h
index cc8a2cb..9b6477c 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -4370,7 +4370,7 @@ typedef struct _TOKEN_DEFAULT_DACL {
 } TOKEN_DEFAULT_DACL, *PTOKEN_DEFAULT_DACL;
 
 /*
- * TOKEN_SOURCEL
+ * TOKEN_SOURCE
  */
 
 #define TOKEN_SOURCE_LENGTH 8
@@ -4435,6 +4435,32 @@ typedef struct _TOKEN_STATISTICS {
 } TOKEN_STATISTICS;
 #include <poppack.h>
 
+typedef struct _TOKEN_GROUPS_AND_PRIVILEGES {
+  DWORD                 SidCount;
+  DWORD                 SidLength;
+  PSID_AND_ATTRIBUTES   Sids;
+  DWORD                 RestrictedSidCount;
+  DWORD                 RestrictedSidLength;
+  PSID_AND_ATTRIBUTES   RestrictedSids;
+  DWORD                 PrivilegeCount;
+  DWORD                 PrivilegeLength;
+  PLUID_AND_ATTRIBUTES  Privileges;
+  LUID                  AuthenticationId;
+} TOKEN_GROUPS_AND_PRIVILEGES, * PTOKEN_GROUPS_AND_PRIVILEGES;
+
+typedef struct _TOKEN_ORIGIN {
+  LUID  OriginatingLogonSession;
+} TOKEN_ORIGIN, * PTOKEN_ORIGIN;
+
+typedef struct _TOKEN_LINKED_TOKEN {
+  HANDLE LinkedToken;
+} TOKEN_LINKED_TOKEN, * PTOKEN_LINKED_TOKEN;
+
+typedef struct _TOKEN_ELEVATION {
+  DWORD TokenIsElevated;
+} TOKEN_ELEVATION, * PTOKEN_ELEVATION;
+
+
 /*
  *	ACLs of NT
  */




More information about the wine-cvs mailing list