GetSystemOSVersion

Retrieves the version of the operating system that is currently running on the console.

Syntax

VOID GetSystemOSVersion(
         LPSYSTEMOSVERSIONINFO VersionInformation
)  

Parameters

VersionInformation
Type: LPSYSTEMOSVERSIONINFO 

[out] Receives a reference to a SYSTEMOSVERSIONINFO structure that contains the version of the console’s operating system.

Return value

Type: VOID 

Requirements

Header: Declared in winbase.h.