Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates the type of device that the game is running on.
Syntax
typedef enum GAMING_DEVICE_DEVICE_ID {
GAMING_DEVICE_DEVICE_ID_NONE = 0,
GAMING_DEVICE_DEVICE_ID_XBOX_ONE = 0x768BAE26,
GAMING_DEVICE_DEVICE_ID_XBOX_ONE_S = 0x2A7361D9,
GAMING_DEVICE_DEVICE_ID_XBOX_ONE_X = 0x5AD617C7,
GAMING_DEVICE_DEVICE_ID_XBOX_ONE_X_DEVKIT = 0x10F7CDE3,
GAMING_DEVICE_DEVICE_ID_XBOX_SERIES_S,
GAMING_DEVICE_DEVICE_ID_XBOX_SERIES_X,
GAMING_DEVICE_DEVICE_ID_XBOX_SERIES_X_DEVKIT
} ;
Constants
GAMING_DEVICE_DEVICE_ID_NONE Value: 0 The device is not in the Xbox family. |
GAMING_DEVICE_DEVICE_ID_XBOX_ONE Value: 0x768BAE26 The device is an Xbox One (original). |
GAMING_DEVICE_DEVICE_ID_XBOX_ONE_S Value: 0x2A7361D9 The device is an Xbox One S. |
GAMING_DEVICE_DEVICE_ID_XBOX_ONE_X Value: 0x5AD617C7 The device is an Xbox One X. |
GAMING_DEVICE_DEVICE_ID_XBOX_ONE_X_DEVKIT Value: 0x10F7CDE3 The device is an Xbox One X dev kit. |
Remarks
This is a Win32 API that's supported in both Win32 and UWP apps. While it works on any device family, it's only really of value on Xbox devices.
Requirements
Requirement | Value |
---|---|
Header | gamingdeviceinformation.h |