From 3ff5506593855976f64d0b435ec43313638e2ad6 Mon Sep 17 00:00:00 2001 From: Earnie Boyd Date: Thu, 18 Nov 2004 15:04:10 +0000 Subject: [PATCH] * include/w32api.h (Windows95, etc. and IE3, etc.): Add definitions. --- winsup/w32api/ChangeLog | 1 + winsup/w32api/include/w32api.h | 36 ++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 9ee753c96..9d24030fd 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -2,6 +2,7 @@ * include/wincon.h (AttachConsole): Correct the _WIN32_WINNT filter. Changed it twice due to inconsistent MSDN documentation. + * include/w32api.h (Windows95, etc. and IE3, etc.): Add definitions. 2004-11-13 Danny Smith diff --git a/winsup/w32api/include/w32api.h b/winsup/w32api/include/w32api.h index 92cfb95f9..14982fea4 100644 --- a/winsup/w32api/include/w32api.h +++ b/winsup/w32api/include/w32api.h @@ -8,4 +8,40 @@ #define __W32API_MAJOR_VERSION 3 #define __W32API_MINOR_VERSION 1 +/* The following defines are for documentation purposes. The following defines + * identify the versions of Windows and Internet Explorer. They are not to be + * used in the w32api library but may be used by a user to set the _WIN32_WINNT + * or _WIN32_WINDOWS and the WINVER values to their minimum level of support. + * + * Similarly the user can use the Internet Explorer values to set the _WIN32_IE + * value to their minimum level of support. + */ + +/* Use these values to set _WIN32_WINDOWS and WINVER to your minimum support + * level */ +#define Windows95 0x0400 +#define Windows98 0x0410 +#define WindowsME 0x0500 + +/* Use these values to set _WIN32_WINNT and WINVER to your mimimum support + * level. */ +#define WindowsNT4 0x0400 +#define Windows2000 0x0500 +#define WindowsXP 0x0501 +#define Windows2003 0x0502 + +/* Use these values to set _WIN32_IE to your minimum support level */ +#define IE3 0x0300 +#define IE301 0x0300 +#define IE302 0x0300 +#define IE4 0x0400 +#define IE401 0x0401 +#define IE5 0x0500 +#define IE5a 0x0500 +#define IE5b 0x0500 +#define IE501 0x0501 +#define IE55 0x0501 +#define IE56 0x0560 +#define IE6 0x0600 + #endif /* ndef _W32API_H_ */