XGSetHardwareVersion

Configures XG for the specified hardware version.

Syntax

void XGSetHardwareVersion(
         XG_HARDWARE_VERSION Version
)  

Parameters

Version
Type: XG_HARDWARE_VERSION 

[in] The Xbox hardware version.

Return value

None.

Remarks

Call XGSetHardwareVersion before calling other XG APIs to ensure that XG’s behavior matches the specified hardware version.

Requirements

Header: Declared in xg.h.

Library: Use xg_x.lib.