Retrieves information about the current operating system
_WinAPI_GetVersionEx ( )
|Success:||$tagOSVERSIONINFOEX structure that contains the information about the current operating system.|
|Failure:||Sets the @error flag to non-zero, call _WinAPI_GetLastError() to get extended error information.|
When using the _WinAPI_GetVersionEx() function to determine whether your application is running on a particular
version of the operating system, check for the version numbers that are greater than or equal to the desired version
numbers. This ensures that the test succeeds for later versions of the operating system.
Search GetVersionEx in MSDN Library.