Partager via


XtfCreateRemoteRunClient Method

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

Syntax

HRESULT XtfCreateRemoteRunClient(
         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 IXtfRemoteRunClient.

riid
Type: REFIID

Pointer that receives the instance identifier of the newly created IXtfRemoteRunClient.

ppvObject
Type: void **

Pointer that receives a reference to the newly created IXtfRemoteRunClient.

Return value

Type: HRESULT

The result of the operation.

Remarks

The Remote Run Client is the class which will call executables on your console.
This class can be used to execute a wide variety of executables from test tools to common command line instructions like kill process. After creating the run client, you can use its Run function to run executables. To run executables which require input or output, you will need to use the IXtfRemoteRunCallback's interface as a parameter to the Run function.

Requirements

Header: xtfremoterun.h

Library: xtfremoterun.lib

Supported platforms: Windows (for Xbox console tools)

See also

IXtfRemoteRunClient
IXtfRemoteRunClient::Run
IXtfRemoteRunCallback Interface