Skip to main content

XVersion

Represents a four-part version number.

Syntax

Members

major
Type: uint16_t
The major version number. minor
Type: uint16_t
The minor version number. build
Type: uint16_t
The build number. revision
Type: uint16_t
The revision number. Value Type: uint64_t 64-bit packed integer that represents the 4-part version.

Remarks

Gaming Runtime features use the XVersion structure to represent the version information. The XSystemAnalyticsInfo and XSystemRuntimeInfo structures use XVersion to represent versions for operating system and the gaming runtime. In addition, the XPackageDetails structure uses XVersion to represent a package’s version.

Requirements

Header: XGameRuntimeTypes.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

XPackageDetails
XSystemAnalyticsInfo
XSystemRuntimeInfo XGameRuntimeTypes
Last modified on August 20, 2026