Skip to main content

XSystemDeviceType

Indicates the system device type returned by calling XSystemGetDeviceType.

Syntax

Constants

Remarks

The XSystemGetDeviceType function has no explicit error state. It returns a value of XSystemDeviceType::Unknown if it is unable to determine the system device type. You can call XSystemGetDeviceType before calling XGameRuntimeInitialize, during early title initialization. The following code example gets the type of system device currently in use. If it’s running on a dev kit, then it runs custom code to enable developer features within the game.

Requirements

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

See also

XSystem
XSystemGetDeviceType
XGameRuntimeInitialize
Last modified on August 20, 2026