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

Envia um relatório de estado do controle para o console.

## Sintaxe

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

### Parâmetros

*controllerId*   \
Tipo: UINT64

O identificador de dispositivo deste [IXtfInputClient](/pt-BR/reference/tools/xtf/xtfinput/classes/IXtfInputClient/ixtfinputclient-xtfinput-xbox-windows-t).\
A ID do controle é a ID do controle retornada por [IXtfInputClient::ConnectGamepad](/pt-BR/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/connectgamepad-ixtfinputclient-xtfinput-xbox-windows-m).

*report*   \
Tipo: [GAMEPAD\_REPORT\_EX](/pt-BR/reference/tools/xtf/xtfinput/structures/gamepad_report_ex)

O estado do controle a ser relatado.

*audioType*   \
Tipo: INT32

A definir

*audioData*   \
Tipo: SAFEARRAY\*

A definir

### Valor retornado

Tipo: HRESULT

Código de êxito ou de erro HRESULT.

## Requisitos

**Cabeçalho:** XtfInput.h

**Biblioteca:** xtfinput.lib

**Plataformas com suporte:** Windows (para ferramentas de console XBOX)

## Confira também

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


## Related topics

- [IXtfInputClient::SendGamepadReportEx](/pt-BR/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/ixtfinputclient_sendgamepadreportex.md)
- [Método IXtfInputClient::SendGamepadReport](/pt-BR/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/sendgamepadreport-ixtfinputclient-xtfinput-xbox-windows-m.md)
- [Método IXtfInputClient::ConnectGamepad](/pt-BR/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/connectgamepad-ixtfinputclient-xtfinput-xbox-windows-m.md)
- [Método IXtfInputClient::DisconnectGamepad](/pt-BR/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/disconnectgamepad-ixtfinputclient-xtfinput-xbox-windows-m.md)
- [Método IXtfInputClient::DisconnectAllGamepads](/pt-BR/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/disconnectallgamepads-ixtfinputclient-xtfinput-xbox-windows-m.md)
