* include/winnt.h:Add enums for TokenRestrictedSids and TokenSessionId

to TOKEN_INFORMATION_CLASS type.
Add QUOTA_LIMITS type.
This commit is contained in:
Corinna Vinschen 2000-08-19 00:20:00 +00:00
parent 6052f47178
commit 5422433943
2 changed files with 17 additions and 1 deletions

View File

@ -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> Tue Aug 8 21:29:00 2000 Corinna Vinschen <corinna@vinschen.de>
* include/userenv.h: New header file. * include/userenv.h: New header file.

View File

@ -1764,12 +1764,22 @@ typedef struct _SECURITY_DESCRIPTOR {
typedef enum _TOKEN_INFORMATION_CLASS { typedef enum _TOKEN_INFORMATION_CLASS {
TokenUser=1,TokenGroups,TokenPrivileges,TokenOwner, TokenUser=1,TokenGroups,TokenPrivileges,TokenOwner,
TokenPrimaryGroup,TokenDefaultDacl,TokenSource,TokenType, TokenPrimaryGroup,TokenDefaultDacl,TokenSource,TokenType,
TokenImpersonationLevel,TokenStatistics TokenImpersonationLevel,TokenStatistics,TokenRestrictedSids,
TokenSessionId
} TOKEN_INFORMATION_CLASS; } TOKEN_INFORMATION_CLASS;
typedef enum _SID_NAME_USE { typedef enum _SID_NAME_USE {
SidTypeUser=1,SidTypeGroup,SidTypeDomain,SidTypeAlias,SidTypeWellKnownGroup, SidTypeUser=1,SidTypeGroup,SidTypeDomain,SidTypeAlias,SidTypeWellKnownGroup,
SidTypeDeletedAccount,SidTypeInvalid,SidTypeUnknown SidTypeDeletedAccount,SidTypeInvalid,SidTypeUnknown
} SID_NAME_USE,*PSID_NAME_USE; } 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 { typedef struct _FILE_NOTIFY_INFORMATION {
DWORD NextEntryOffset; DWORD NextEntryOffset;
DWORD Action; DWORD Action;