summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/winnt.h
diff options
context:
space:
mode:
authorDimitri Papadopoulos <dimitri_at@users.sf.net>2003-10-09 05:28:25 +0000
committerDimitri Papadopoulos <dimitri_at@users.sf.net>2003-10-09 05:28:25 +0000
commit38f9123efd5c9c35721fd317aa39a9d4c43a2670 (patch)
tree1b0e58990b3ce999e96973fb1ac6a94bdd75c6cf /winsup/w32api/include/winnt.h
parentea4980efe151615da1d289b385feee0b267dbaa0 (diff)
downloadcygnal-38f9123efd5c9c35721fd317aa39a9d4c43a2670.tar.gz
cygnal-38f9123efd5c9c35721fd317aa39a9d4c43a2670.tar.bz2
cygnal-38f9123efd5c9c35721fd317aa39a9d4c43a2670.zip
* include/winbase.h (AddVectoredExceptionHandler): Define if
_WIN32_WINNT >= 0x0500. * include/winnt.h (PVECTORED_EXCEPTION_HANDLER): Define if _WIN32_WINNT >= 0x0500.
Diffstat (limited to 'winsup/w32api/include/winnt.h')
-rw-r--r--winsup/w32api/include/winnt.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h
index a49709641..be6877aed 100644
--- a/winsup/w32api/include/winnt.h
+++ b/winsup/w32api/include/winnt.h
@@ -2074,12 +2074,6 @@ typedef enum tagTOKEN_TYPE {
TokenPrimary = 1,
TokenImpersonation
} TOKEN_TYPE,*PTOKEN_TYPE;
-#if (_WIN32_WINNT >= 0x0501)
-typedef LONG (WINAPI *PVECTORED_EXCEPTION_HANDLER)(PEXCEPTION_POINTERS);
-typedef enum _HEAP_INFORMATION_CLASS {
- HeapCompatibilityInformation
-} HEAP_INFORMATION_CLASS;
-#endif
typedef struct _TOKEN_STATISTICS {
LUID TokenId;
LUID AuthenticationId;
@@ -3167,6 +3161,9 @@ typedef enum _POWER_INFORMATION_LEVEL {
ProcessorPowerPolicyCurrent
} POWER_INFORMATION_LEVEL;
+#if (_WIN32_WINNT >= 0x0500)
+typedef LONG (WINAPI *PVECTORED_EXCEPTION_HANDLER)(PEXCEPTION_POINTERS);
+#endif
#if 1 /* (WIN32_WINNT >= 0x0500) */
typedef struct _SYSTEM_POWER_INFORMATION {
ULONG MaxIdlenessAllowed;
@@ -3176,7 +3173,10 @@ typedef struct _SYSTEM_POWER_INFORMATION {
} SYSTEM_POWER_INFORMATION,*PSYSTEM_POWER_INFORMATION;
#endif
-#if (WIN32_WINNT >= 0x0501)
+#if (_WIN32_WINNT >= 0x0501)
+typedef enum _HEAP_INFORMATION_CLASS {
+ HeapCompatibilityInformation
+} HEAP_INFORMATION_CLASS;
typedef enum _ACTIVATION_CONTEXT_INFO_CLASS {
ActivationContextBasicInformation = 1,
ActivationContextDetailedInformation,