2017-02-14 09:33:42 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2018-03-23 02:18:13 +00:00
|
|
|
#ifdef _WIN32
|
2017-02-14 09:33:42 +00:00
|
|
|
|
2017-02-24 19:50:27 +00:00
|
|
|
bool IsVistaOrHigher();
|
2020-01-14 09:15:11 +00:00
|
|
|
bool IsWin7OrHigher();
|
2024-09-04 18:56:37 +00:00
|
|
|
bool IsWin8OrHigher();
|
|
|
|
bool DoesVersionMatchWindows(uint32_t major, uint32_t minor, uint32_t spMajor, uint32_t spMinor, uint32_t build, bool acceptGreater);
|
2024-09-03 16:07:57 +00:00
|
|
|
bool GetVersionFromKernel32(uint32_t& major, uint32_t& minor, uint32_t& build);
|
2024-09-03 11:58:35 +00:00
|
|
|
|
2017-02-14 09:33:42 +00:00
|
|
|
std::string GetWindowsVersion();
|
|
|
|
std::string GetWindowsSystemArchitecture();
|
|
|
|
|
2018-03-23 02:18:13 +00:00
|
|
|
#endif
|