Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEarnie Boyd <earnie@users.sf.net>2004-11-18 18:04:10 +0300
committerEarnie Boyd <earnie@users.sf.net>2004-11-18 18:04:10 +0300
commit3ff5506593855976f64d0b435ec43313638e2ad6 (patch)
treec959d947fa91d934a33672779ff8cdd510ed9cb9 /winsup/w32api
parent24984fcb459d49a963194b27190e5d10e982b7e7 (diff)
* include/w32api.h (Windows95, etc. and IE3, etc.): Add definitions.
Diffstat (limited to 'winsup/w32api')
-rw-r--r--winsup/w32api/ChangeLog1
-rw-r--r--winsup/w32api/include/w32api.h36
2 files changed, 37 insertions, 0 deletions
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 <dannysmith@users.sourceforge.net>
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_ */