IsWindows10OrGreater function version

int IsWindows10OrGreater()

Indicates if the current OS version matches, or is greater than, the Windows 10 version.

Implementation

int IsWindows10OrGreater() => IsWindowsVersionOrGreater(
    HIBYTE(_WIN32_WINNT_WINTHRESHOLD), LOBYTE(_WIN32_WINNT_WINTHRESHOLD), 0);