Skip to main content

XtfCreateInputClient

Initializes a new instance of the IXtfInputClient interface with the specified address.

Syntax

Parameters

pszAddress
Type: LPCWSTR
Pointer to the tools IP address of the development console to use for the new IXtfInputClient instance. riid
Type: REFIID
Pointer that receives the instance identifier of the newly created IXtfInputClient instance. ppvObject
Type: void **
Pointer that receives a reference to the newly created IXtfInputClient instance.

Return value

Type: HRESULT The result of the operation.

Remarks

Use the IXtfInputClient instance created by this function to create, disconnect, and send game reports to a virtual controller on a development console. You can automate unit tests, stress tests, long-haul tests, and user tests by programmatically simulating gamepad input. For more information, see Simulating gamepad input (NDA topic).

Requirements

Header: xtfinput.h Library: xtfinput.lib Supported platforms: Windows (for XBOX console tools)

See also

IXtfInputClient
XtfInput
Last modified on August 20, 2026