24#define _versionhelpers_H_INCLUDED_
29#define VERSIONHELPERAPI inline bool
31#define VERSIONHELPERAPI FORCEINLINE BOOL
37 OSVERSIONINFOEXW osvi = {
sizeof(
osvi), wMajorVersion, wMinorVersion, 0, 0, {0}, wServicePackMajor, 0, 0, 0, 0 };
134 OSVERSIONINFOEXW osvi = {
sizeof(
osvi), 0, 0, 0, 0, {0}, 0, 0, 0, 0, 0 };
136 BOOL fSuiteTerminal, fSuiteSingleUserTS;
144 return !(fSuiteTerminal & !fSuiteSingleUserTS);
UINT WINAPI GetWindowsDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
BOOL WINAPI VerifyVersionInfoW(IN LPOSVERSIONINFOEXW lpVersionInformation, IN DWORD dwTypeMask, IN DWORDLONG dwlConditionMask)
_CONST_RETURN wchar_t *__cdecl wcsstr(_In_z_ const wchar_t *_Str, _In_z_ const wchar_t *_SubStr)
unsigned long long DWORDLONG
#define VER_GREATER_EQUAL
#define VER_SERVICEPACKMAJOR
#define VER_SUITE_TERMINAL
#define VER_SUITE_SINGLEUSERTS
ULONGLONG NTAPI VerSetConditionMask(IN ULONGLONG ConditionMask, IN ULONG TypeMask, IN UCHAR Condition)
VERSIONHELPERAPI IsWindows7OrGreater()
VERSIONHELPERAPI IsWindowsVistaOrGreater()
VERSIONHELPERAPI IsWindows8OrGreater()
VERSIONHELPERAPI IsWindowsVersionOrGreater(WORD wMajorVersion, WORD wMinorVersion, WORD wServicePackMajor)
VERSIONHELPERAPI IsWindowsXPSP3OrGreater()
VERSIONHELPERAPI IsWindowsVistaSP2OrGreater()
VERSIONHELPERAPI IsActiveSessionCountLimited()
VERSIONHELPERAPI IsWindowsServer()
VERSIONHELPERAPI IsWindowsXPSP1OrGreater()
VERSIONHELPERAPI IsWindows10OrGreater()
VERSIONHELPERAPI IsWindows7SP1OrGreater()
VERSIONHELPERAPI IsWindowsThresholdOrGreater()
VERSIONHELPERAPI IsWindowsXPSP2OrGreater()
VERSIONHELPERAPI IsWindowsVistaSP1OrGreater()
VERSIONHELPERAPI IsWindows8Point1OrGreater()
VERSIONHELPERAPI IsWindowsXPOrGreater()
#define VER_NT_WORKSTATION