> ## 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.

# IXtfInputClient::SendGamepadReportWithAudio

> IXtfInputClient::SendGamepadReportWithAudio

# IXtfInputClient::SendGamepadReportWithAudio

コンソールにコントローラーの状態レポートを送信します。

## 構文

```cpp theme={null}
HRESULT SendGamepadReportWithAudio(  
         UINT64 controllerId,  
         GAMEPAD_REPORT_EX report,  
         INT32 audioType,  
         SAFEARRAY* audioData  
)  
```

### パラメーター

*controllerId*   \
型: UINT64

この [IXtfInputClient](/reference/tools/xtf/xtfinput/classes/IXtfInputClient/ixtfinputclient-xtfinput-xbox-windows-t) のデバイス識別子。\
コントローラー ID は、[IXtfInputClient::ConnectGamepad](/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/connectgamepad-ixtfinputclient-xtfinput-xbox-windows-m) によって返されるコントローラー ID です。

*report*   \
型: [GAMEPAD\_REPORT\_EX](/reference/tools/xtf/xtfinput/structures/gamepad_report_ex)

レポートするコントローラーの状態。

*audioType*   \
型: INT32

TBD

*audioData*   \
型: SAFEARRAY\*

TBD

### 戻り値

型: HRESULT

HRESULT の成功またはエラー コード。

## 要件

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

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

**対応プラットフォーム:** Windows (XBOX コンソール ツール用)

## 関連項目

[XtfInput](/reference/tools/xtf/xtfinput/xtfinput-xbox-microsoft-n)


## Related topics

- [IXtfInputClient::SendGamepadReportEx](/ja-jp/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/ixtfinputclient_sendgamepadreportex.md)
- [IXtfInputClient::SendGamepadReport メソッド](/ja-jp/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/sendgamepadreport-ixtfinputclient-xtfinput-xbox-windows-m.md)
- [IXtfInputClient::ConnectGamepad メソッド](/ja-jp/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/connectgamepad-ixtfinputclient-xtfinput-xbox-windows-m.md)
- [IXtfInputClient::DisconnectGamepad メソッド](/ja-jp/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/disconnectgamepad-ixtfinputclient-xtfinput-xbox-windows-m.md)
- [IXtfInputClient::DisconnectAllGamepads メソッド](/ja-jp/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/disconnectallgamepads-ixtfinputclient-xtfinput-xbox-windows-m.md)
