Share via


IXtfInputClient::SendGamepadReportWithAudio

Sends a controller state report to the console.

Syntax

HRESULT SendGamepadReportWithAudio(  
         UINT64 controllerId,  
         GAMEPAD_REPORT_EX report,  
         INT32 audioType,  
         SAFEARRAY* audioData  
)  

Parameters

controllerId   
Type: UINT64

The device identifier of this IXtfInputClient.
The controller ID is the controller ID returned by IXtfInputClient::ConnectGamepad.

report   
Type: GAMEPAD_REPORT_EX

The controller state to report.

audioType   
Type: INT32

TBD

audioData   
Type: SAFEARRAY*

TBD

Return value

Type: HRESULT

HRESULT success or error code.

Requirements

Header: XtfInput.h

Library: xtfinput.lib

Supported platforms: Windows (for Xbox console tools)

See also

XtfInput