ppsspp/Common/OSVersion.h
2024-09-03 20:07:57 +04:00

16 lines
379 B
C++

#pragma once
#include <string>
#ifdef _WIN32
bool IsVistaOrHigher();
bool IsWin7OrHigher();
bool DoesVersionMatchWindows(uint32_t major, uint32_t minor, uint32_t spMajor, uint32_t spMinor, bool acceptGreater);
bool GetVersionFromKernel32(uint32_t& major, uint32_t& minor, uint32_t& build);
std::string GetWindowsVersion();
std::string GetWindowsSystemArchitecture();
#endif