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:
Diffstat (limited to 'winsup/w32api/include/w32api.h')
-rw-r--r--winsup/w32api/include/w32api.h36
1 files changed, 36 insertions, 0 deletions
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_ */