+2003-10-09 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
+
+ * include/winbase.h (AddVectoredExceptionHandler): Define if
+ _WIN32_WINNT >= 0x0500.
+
+ * include/winnt.h (PVECTORED_EXCEPTION_HANDLER): Define if
+ _WIN32_WINNT >= 0x0500.
+
2003-10-08 Corinna Vinschen <corinna@vinschen.de>
* include/winbase.h (AddVectoredExceptionHandler): Only define if
#if (_WIN32_WINNT >= 0x0501)
void WINAPI AddRefActCtx(HANDLE);
#endif
-#if (_WIN32_WINNT >= 0x0501)
+#if (_WIN32_WINNT >= 0x0500)
PVOID WINAPI AddVectoredExceptionHandler(ULONG,PVECTORED_EXCEPTION_HANDLER);
#endif
BOOL WINAPI AdjustTokenGroups(HANDLE,BOOL,PTOKEN_GROUPS,DWORD,PTOKEN_GROUPS,PDWORD);
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;
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;
} 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,