Retrieves the version of the operating system that is currently running on the console.
VOID GetSystemOSVersion(
LPSYSTEMOSVERSIONINFO VersionInformation
)
VersionInformation
Type: LPSYSTEMOSVERSIONINFO
[out] Receives a reference to a SYSTEMOSVERSIONINFO structure that contains the version of the console’s operating system.
Type: VOID
Header: Declared in winbase.h.