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

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](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/classes/IXtfInputClient/ixtfinputclient-xtfinput-xbox-windows-t.md).\
L'ID de manette est celui retourné par [IXtfInputClient::ConnectGamepad](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/connectgamepad-ixtfinputclient-xtfinput-xbox-windows-m.md).

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

É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](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/xtfinput-xbox-microsoft-n.md)


## Related topics

- [Interface IXtfInputClient (contenu de l'interface)](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/classes/IXtfInputClient/ixtfinputclient-xtfinput-xbox-windows-t.md)
- [SendGamepadReport](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/sendgamepadreport-ixtfinputclient-xtfinput-xbox-windows-m.md)
- [SendGamepadReportEx](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/ixtfinputclient_sendgamepadreportex.md)
- [GAMEPAD_REPORT_EX](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/structures/gamepad_report_ex.md)
- [Structure GAMEPAD_REPORT](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/structures/GAMEPAD_REPORT-xtfinput-xbox-windows-t.md)
