aboutsummaryrefslogtreecommitdiff
path: root/winsup/w32api
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2000-08-19 00:20:00 +0000
committerCorinna Vinschen <corinna@vinschen.de>2000-08-19 00:20:00 +0000
commit542243394334a592acfda2ea707c95fe5cb4a16a (patch)
treea4517009a9f57d154a16d5ec299b1944a295a288 /winsup/w32api
parent6052f47178717e24369f27a06fcfee946bd006a0 (diff)
downloadnewlib-542243394334a592acfda2ea707c95fe5cb4a16a.zip
newlib-542243394334a592acfda2ea707c95fe5cb4a16a.tar.gz
newlib-542243394334a592acfda2ea707c95fe5cb4a16a.tar.bz2
* include/winnt.h:Add enums for TokenRestrictedSids and TokenSessionId
to TOKEN_INFORMATION_CLASS type. Add QUOTA_LIMITS type.
Diffstat (limited to 'winsup/w32api')
-rw-r--r--winsup/w32api/ChangeLog6
-rw-r--r--winsup/w32api/include/winnt.h12
2 files changed, 17 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 86a135d..6a983c9 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,9 @@
+Fri Aug 18 17:17:00 2000 Corinna Vinschen <corinna@vinschen.de>
+
+ * include/winnt.h:Add enums for TokenRestrictedSids and TokenSessionId
+ to TOKEN_INFORMATION_CLASS type.
+ Add QUOTA_LIMITS type.
+
Tue Aug 8 21:29:00 2000 Corinna Vinschen <corinna@vinschen.de>
* include/userenv.h: New header file.
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h
index d1d4a7f..9160909 100644
--- a/winsup/w32api/include/winnt.h
+++ b/winsup/w32api/include/winnt.h
@@ -1764,12 +1764,22 @@ typedef struct _SECURITY_DESCRIPTOR {
typedef enum _TOKEN_INFORMATION_CLASS {
TokenUser=1,TokenGroups,TokenPrivileges,TokenOwner,
TokenPrimaryGroup,TokenDefaultDacl,TokenSource,TokenType,
- TokenImpersonationLevel,TokenStatistics
+ TokenImpersonationLevel,TokenStatistics,TokenRestrictedSids,
+ TokenSessionId
} TOKEN_INFORMATION_CLASS;
typedef enum _SID_NAME_USE {
SidTypeUser=1,SidTypeGroup,SidTypeDomain,SidTypeAlias,SidTypeWellKnownGroup,
SidTypeDeletedAccount,SidTypeInvalid,SidTypeUnknown
} SID_NAME_USE,*PSID_NAME_USE;
+typedef struct _QUOTA_LIMITS {
+ size_t PagedPoolLimit;
+ size_t NonPagedPoolLimit;
+ DWORD MinimumWorkingSetSize;
+ DWORD MaximumWorkingSetSize;
+ size_t PagefileLimit;
+ LARGE_INTEGER TimeLimit;
+} QUOTA_LIMITS;
+typedef QUOTA_LIMITS *PQUOTA_LIMITS;
typedef struct _FILE_NOTIFY_INFORMATION {
DWORD NextEntryOffset;
DWORD Action;