IsWindowsXPOrGreater function
Indicates if the current OS version matches, or is greater than, the Windows XP version.
To learn more, see learn.microsoft.com/windows/win32/api/versionhelpers/nf-versionhelpers-iswindowsxporgreater.
Implementation
@pragma('vm:prefer-inline')
bool IsWindowsXPOrGreater() => IsWindowsVersionOrGreater(
HIBYTE(_WIN32_WINNT_WINXP),
LOBYTE(_WIN32_WINNT_WINXP),
0,
);