summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_core.h3
-rw-r--r--include/win2k.h12
2 files changed, 15 insertions, 0 deletions
diff --git a/include/m_core.h b/include/m_core.h
index e812be9e2b..f8626f975a 100644
--- a/include/m_core.h
+++ b/include/m_core.h
@@ -635,6 +635,9 @@ MIR_CORE_DLL(void) KillModuleSubclassing(HMODULE hInst);
MIR_CORE_DLL(BOOL) IsWinVerVistaPlus();
MIR_CORE_DLL(BOOL) IsWinVer7Plus();
+MIR_CORE_DLL(BOOL) IsWinVer8Plus();
+MIR_CORE_DLL(BOOL) IsWinVer81Plus();
+MIR_CORE_DLL(BOOL) IsWinVer10Plus();
MIR_CORE_DLL(BOOL) IsFullScreen();
MIR_CORE_DLL(BOOL) IsWorkstationLocked();
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