Debugging Tools for Windows

DEBUG_REQUEST_GET_WIN32_MAJOR_MINOR_VERSIONS

The DEBUG_REQUEST_GET_WIN32_MAJOR_MINOR_VERSIONS Request operation returns the version of Windows that is currently running on the target.

Parameters

InBuffer
Not used.
OutBuffer
The major and minor version numbers for the version of Windows that is currently running on the target. The type of the version numbers is an array containing two ULONG values; the first ULONG in the array is the major version number and the second is the minor version number

The following table lists the major and minor version numbers by operating system.

Version of Windows Major version number Minor version number
Windows 2000 5 0
Windows XP 5 1
Windows Server 2003 5 2

See Also

Request, GetSystemVersionValues

Build machine: CAPEBUILD