AuroraRuntime/Include/Aurora/SWInfo/WinVersion.hpp
Jamie Reece Wilson 47cccd0490 [+] Absolute Win32 version checks
[+] bool AuSwInfo::IsWindowsXP()
[+] bool AuSwInfo::IsWindowsXPSP1()
[+] bool AuSwInfo::IsWindowsXPSP2()
[+] bool AuSwInfo::IsWindowsXPSP3()
[+] bool AuSwInfo::IsWindowsXPAny()
[+] bool AuSwInfo::IsWindowsVista()
[+] bool AuSwInfo::IsWindowsVistaSP1()
[+] bool AuSwInfo::IsWindowsVistaSP2()
[+] bool AuSwInfo::IsWindowsVistaAny()
[+] bool AuSwInfo::IsWindows7()
[+] bool AuSwInfo::IsWindows7SP1()
[+] bool AuSwInfo::IsWindows7Any()
[+] bool AuSwInfo::IsWindows8()
[+] bool AuSwInfo::IsWindows8Point1()
[+] bool AuSwInfo::IsWindows8Any()
[+] bool AuSwInfo::IsWindows10()
[+] bool AuSwInfo::IsWindows11()
2023-08-29 16:12:13 +01:00

43 lines
1.4 KiB
C++

/***
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: WinVersion.hpp
Date: 2022-1-25
Author: Reece
***/
#pragma once
namespace Aurora::SWInfo
{
// VersionHelpers.h - except it doesn't lie to you and wont break NIX land
AUKN_SYM bool IsWindowsXPOrGreater();
AUKN_SYM bool IsWindowsXP();
AUKN_SYM bool IsWindowsXPSP1OrGreater();
AUKN_SYM bool IsWindowsXPSP1();
AUKN_SYM bool IsWindowsXPSP2OrGreater();
AUKN_SYM bool IsWindowsXPSP2();
AUKN_SYM bool IsWindowsXPSP3OrGreater();
AUKN_SYM bool IsWindowsXPSP3();
AUKN_SYM bool IsWindowsXPAny();
AUKN_SYM bool IsWindowsVistaOrGreater();
AUKN_SYM bool IsWindowsVista();
AUKN_SYM bool IsWindowsVistaSP1OrGreater();
AUKN_SYM bool IsWindowsVistaSP1();
AUKN_SYM bool IsWindowsVistaSP2OrGreater();
AUKN_SYM bool IsWindowsVistaSP2();
AUKN_SYM bool IsWindowsVistaAny();
AUKN_SYM bool IsWindows7OrGreater();
AUKN_SYM bool IsWindows7();
AUKN_SYM bool IsWindows7SP1OrGreater();
AUKN_SYM bool IsWindows7SP1();
AUKN_SYM bool IsWindows7Any();
AUKN_SYM bool IsWindows8OrGreater();
AUKN_SYM bool IsWindows8();
AUKN_SYM bool IsWindows8Point1OrGreater();
AUKN_SYM bool IsWindows8Point1();
AUKN_SYM bool IsWindows8Any();
AUKN_SYM bool IsWindows10OrGreater();
AUKN_SYM bool IsWindows10();
AUKN_SYM bool IsWindows11OrGreater();
AUKN_SYM bool IsWindows11();
}