BOOL GetVersionEx(
LPOSVERSIONINFO lpVersionInfo // version information
);
OSVERSIONINFOEX
The OSVERSIONINFOEX structure contains operating system version information. The information includes major and minor version numbers, a build number, a platform identifier, and information about product suites and the latest Service Pack installed on the system. This structure is used with the GetVersionEx and VerifyVersionInfo functions.