Function Reference


_WinAPI_GetVersionEx

Retrieves information about the current operating system

#include <WinAPISys.au3>
_WinAPI_GetVersionEx ( )

Return Value

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.

Remarks

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.

See Also

Search GetVersionEx in MSDN Library.