summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/winnt.h
diff options
context:
space:
mode:
authorDimitri Papadopoulos <dimitri_at@users.sf.net>2003-10-07 10:14:31 +0000
committerDimitri Papadopoulos <dimitri_at@users.sf.net>2003-10-07 10:14:31 +0000
commit2df2984b406dfb9d6e3178983803eba29115a4d1 (patch)
tree73ed924e006df98f7718c858fb50b5d0f936655f /winsup/w32api/include/winnt.h
parentf9a322ebf72d418756fbe5950b135d4babf61e76 (diff)
downloadcygnal-2df2984b406dfb9d6e3178983803eba29115a4d1.tar.gz
cygnal-2df2984b406dfb9d6e3178983803eba29115a4d1.tar.bz2
cygnal-2df2984b406dfb9d6e3178983803eba29115a4d1.zip
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function. * include/winbase.h [_WIN32_WINNT >= 0x0500] (GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]): Add functions. * include/winbase.h [_WIN32_WINNT >= 0x0501] (GetSystemWow64Directory[AW], HeapQueryInformation, HeapSetInformation, InitializeSListHead, InterlockedFlushSList, InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob, IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx, RemoveVectoredExceptionHandler): Add functions. * include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS): Add enumeration. * include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag): Add function. * include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError): Add function. The MSDN Magazine of June 2003 reads: RestoreLastError is an enigma. It's code is identical to SetLastError. It's unclear to me why it was made into a separate API. * lib/user32.def (GetSystemWindowsDirectory[AW], GetSystemWow64Directory[AW], GetThreadIOPendingFlag, HeapQueryInformation, HeapSetInformation, InitializeSListHead, InterlockedFlushSList, InterlockedPopEntrySList, InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process, ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx, RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch, RestoreLastError): Add functions.
Diffstat (limited to 'winsup/w32api/include/winnt.h')
-rw-r--r--winsup/w32api/include/winnt.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h
index 074f13c06..442918e7e 100644
--- a/winsup/w32api/include/winnt.h
+++ b/winsup/w32api/include/winnt.h
@@ -2053,7 +2053,15 @@ typedef struct _TOKEN_PRIVILEGES {
DWORD PrivilegeCount;
LUID_AND_ATTRIBUTES Privileges[ANYSIZE_ARRAY];
} TOKEN_PRIVILEGES,*PTOKEN_PRIVILEGES,*LPTOKEN_PRIVILEGES;
-typedef enum tagTOKEN_TYPE { TokenPrimary=1,TokenImpersonation }TOKEN_TYPE, *PTOKEN_TYPE;
+typedef enum tagTOKEN_TYPE {
+ TokenPrimary = 1,
+ TokenImpersonation
+} TOKEN_TYPE,*PTOKEN_TYPE;
+#if (_WIN32_WINNT >= 0x0501)
+typedef enum {
+ HeapCompatibilityInformation
+} HEAP_INFORMATION_CLASS;
+#endif
typedef struct _TOKEN_STATISTICS {
LUID TokenId;
LUID AuthenticationId;
@@ -2087,8 +2095,9 @@ typedef enum _TOKEN_INFORMATION_CLASS {
TokenSessionId
} 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
} SID_NAME_USE,*PSID_NAME_USE;
typedef struct _QUOTA_LIMITS {
SIZE_T PagedPoolLimit;