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.

Requirements

Header: concrtrm.h

Namespace: concurrency

See Also

Reference

concurrency Namespace

IResourceManager::OSVersion Enumeration