XInputOnGameInputUninitialize

Uninitializes the XInput wrapper APIs

Syntax

void XInputOnGameInputUninitialize(  
)  

Parameters

Return value

Type: void

None.

Remarks

To use this function, you must define the XINPUT_ON_GAMEINPUT_EXPLICIT_INITIALIZATION macro. By default, XInput is initialized in the background, and this causes the first call to an XInput function to take significantly more time, because it's bundled with the initialization work. XINPUT_ON_GAMEINPUT_EXPLICIT_INITIALIZATION gives you finer control over the initialization and uninitialization of XInput. To learn more and see the benefits of explicit initialization, read Porting from XInput to GameInput.

Requirements

Header: XInputOnGameInput.h

Library: xgameruntime.lib

Supported platforms: Xbox One family consoles and Xbox Series consoles

See also

Port XInput to GameInput
XInputOnGameInput
XInputOnGameInputInitialize