ppsspp/Common/OSVersion.h
Bashar Astifan e7d7d89066 Simplify & win11-build check fix
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.
2024-09-04 22:56:37 +04:00

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