> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XInputOnGameInputUninitialize

> XInputOnGameInputUninitialize

# XInputOnGameInputUninitialize

XInput ラッパー API の初期化を解除します。

## 構文

```cpp theme={null}
void XInputOnGameInputUninitialize(  
)  
```

### パラメーター

### 戻り値

型: void

なし。

## 解説

この関数を使用するには、`XINPUT_ON_GAMEINPUT_EXPLICIT_INITIALIZATION` マクロを定義する必要があります。既定では、XInput はバックグラウンドで初期化されるため、XInput 関数への最初の呼び出しは初期化作業とバンドルされる関係で大幅に時間がかかります。`XINPUT_ON_GAMEINPUT_EXPLICIT_INITIALIZATION` を使用すると、XInput の初期化および初期化解除をより細かく制御できます。詳細および明示的な初期化の利点については、[XInput から GameInput への移植](/build/core-features/common/input/porting/input-porting-xinput#optimizingSection)をご覧ください。

## 要件

**ヘッダー:** XInputOnGameInput.h

**ライブラリ:** xgameruntime.lib

**対応プラットフォーム:** XBOX One ファミリー本体および XBOX Series 本体

## 関連項目

[XInput を GameInput に移植する](/build/core-features/common/input/porting/input-porting-xinput)\
[XInputOnGameInput](/reference/input/xinputongameinput/xinputongameinput_members)\
[XInputOnGameInputInitialize](/reference/input/xinputongameinput/functions/xinputongameinputinitialize)


## Related topics

- [XInputOnGameInputInitialize](/ja-jp/reference/input/xinputongameinput/functions/xinputongameinputinitialize.md)
- [XInputOnGameInput](/ja-jp/reference/input/xinputongameinput/xinputongameinput_members.md)
- [XInput から GameInput への移植](/ja-jp/build/core-features/common/input/porting/input-porting-xinput.md)
- [GameInput](/ja-jp/reference/input/gameinput/gameinput_members.md)
- [GameInputLabel](/ja-jp/reference/input/gameinput/enums/gameinputlabel.md)
