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

# SendGamepadReportWithAudio

> IXtfInputClient::SendGamepadReportWithAudio

# IXtfInputClient::SendGamepadReportWithAudio

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

## 構文

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

### パラメーター

*controllerId*   \
型: UINT64

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

*report*   \
型: [GAMEPAD\_REPORT\_EX](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfinput/structures/gamepad_report_ex.md)

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

*audioType*   \
型: INT32

TBD

*audioData*   \
型: SAFEARRAY\*

TBD

### 戻り値

型: HRESULT

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

## 要件

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

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

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

## 関連項目

[XtfInput](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfinput/xtfinput-xbox-microsoft-n.md)


## Related topics

- [IXtfInputClient インターフェイス (インターフェイスの内容)](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfinput/classes/IXtfInputClient/ixtfinputclient-xtfinput-xbox-windows-t.md)
- [SendGamepadReport](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/sendgamepadreport-ixtfinputclient-xtfinput-xbox-windows-m.md)
- [SendGamepadReportEx](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/ixtfinputclient_sendgamepadreportex.md)
- [GAMEPAD_REPORT_EX](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfinput/structures/gamepad_report_ex.md)
- [GAMEPAD_REPORT 構造体](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfinput/structures/GAMEPAD_REPORT-xtfinput-xbox-windows-t.md)
