Share via


GetOSVersion Function

Returns the operating system version.

IResourceManager::OSVersion __cdecl GetOSVersion();

Return Value

An enumerated value representing the operating system.

Remarks

unsupported_os is thrown if the operating system is not supported by the Concurrency Runtime. The earliest operating system supported is Windows XP with Service Pack 3.

Requirements

Header: concrtrm.h

Namespace: concurrency

See Also

Reference

concurrency Namespace

IResourceManager::OSVersion Enumeration