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

Envoie un rapport d'état de manette à la console.

## Syntaxe

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

### Paramètres

*controllerId*   \
Type : UINT64

Identificateur d'appareil de cet objet [IXtfInputClient](/fr/reference/tools/xtf/xtfinput/classes/IXtfInputClient/ixtfinputclient-xtfinput-xbox-windows-t).\
L'ID de manette est celui retourné par [IXtfInputClient::ConnectGamepad](/fr/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/connectgamepad-ixtfinputclient-xtfinput-xbox-windows-m).

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

État de la manette à signaler.

*audioType*   \
Type : INT32

À déterminer

*audioData*   \
Type : SAFEARRAY\*

À déterminer

### Valeur de retour

Type : HRESULT

Code de réussite ou d'erreur HRESULT.

## Configuration requise

**En-tête :** XtfInput.h

**Bibliothèque :** xtfinput.lib

**Plateformes prises en charge :** Windows (pour les outils de console XBOX)

## Voir aussi

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


## Related topics

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