summaryrefslogtreecommitdiff
path: root/include/win2k.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-09 14:31:52 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-09 14:31:52 +0000
commit493f0bc3b05d6e1e4454a391723dff1a164dee37 (patch)
treefb442d967af98f68f1d36d27efc3fc104b4f3a0f /include/win2k.h
parent6dde4172bb2a84ca76a2e6541f6788ab613797ab (diff)
three new functions for checking Windows version
git-svn-id: http://svn.miranda-ng.org/main/trunk@14882 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/win2k.h')
-rw-r--r--include/win2k.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/win2k.h b/include/win2k.h
index 88fdf78807..b7c5203289 100644
--- a/include/win2k.h
+++ b/include/win2k.h
@@ -54,6 +54,18 @@ File created by Christian Kostner, and tweaked a bit by Richard Hughes*/
#define BIGI(x) x##LL
#endif
+#ifndef _WIN32_WINNT_WIN8
+#define _WIN32_WINNT_WIN8 0x0602 // Windows 8
+#endif
+
+#ifndef _WIN32_WINNT_WINBLUE
+#define _WIN32_WINNT_WINBLUE 0x0603 // Windows 8.1
+#endif
+
+#ifndef _WIN32_WINNT_WIN10
+#define _WIN32_WINNT_WIN10 0x0A00 // Windows 10
+#endif
+
// collapsible groups for Vista
#ifndef LVGS_COLLAPSIBLE
#define LVGS_COLLAPSIBLE 0x00000008