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

Envía un informe de estado del mando a la consola.

## Sintaxis

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

### Parámetros

*controllerId*   \
Tipo: UINT64

El identificador de dispositivo de este [IXtfInputClient](/reference/tools/xtf/xtfinput/classes/IXtfInputClient/ixtfinputclient-xtfinput-xbox-windows-t).\
El id. del mando es el id. del mando devuelto por [IXtfInputClient::ConnectGamepad](/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/connectgamepad-ixtfinputclient-xtfinput-xbox-windows-m).

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

El estado del mando que se va a notificar.

*audioType*   \
Tipo: INT32

TBD

*audioData*   \
Tipo: SAFEARRAY\*

TBD

### Valor devuelto

Tipo: HRESULT

Código de éxito o de error HRESULT.

## Requisitos

**Encabezado:** XtfInput.h

**Biblioteca:** xtfinput.lib

**Plataformas compatibles:** Windows (para herramientas de consola XBOX)

## Consulte también

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


## Related topics

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