XtfCreateInputClient
Initializes a new instance of the IXtfInputClient interface with the specified address.
Syntax
HRESULT XtfCreateInputClient(
LPCWSTR pszAddress,
REFIID riid,
void **ppvObject
)
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 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)Requiere autorización.
Requirements
Header: xtfinput.h
Library: xtfinput.lib
Supported platforms: Windows (for Xbox console tools)