mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
e7d7d89066
Without build check on Windows 10 it will appear as Windows 11, I forgot to keep build check, also the process can be simplified more to avoid extra functions.
17 lines
418 B
C++
17 lines
418 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#ifdef _WIN32
|
|
|
|
bool IsVistaOrHigher();
|
|
bool IsWin7OrHigher();
|
|
bool IsWin8OrHigher();
|
|
bool DoesVersionMatchWindows(uint32_t major, uint32_t minor, uint32_t spMajor, uint32_t spMinor, uint32_t build, bool acceptGreater);
|
|
bool GetVersionFromKernel32(uint32_t& major, uint32_t& minor, uint32_t& build);
|
|
|
|
std::string GetWindowsVersion();
|
|
std::string GetWindowsSystemArchitecture();
|
|
|
|
#endif
|