Partager via


XtfCreateUserClient

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

Syntax

HRESULT XtfCreateUserClient(
         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 IXtfUserClient instand.

riid
Type: REFIID

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

ppvObject
Type: void **

Pointer that receives a reference to the newly created IXtfUserClient instance.

Return value

Type: HRESULT

The result of the operation.

Remarks

This function creates and attaches a new instance of IXtfUserClient to the development console specified in pszAddress. You can then use the new IXtfUserClient instance to add and delete users, sign in and sign out users, and pair a user and a controller. You can also work with parties.

Requirements

Header: xtfuser.h

Library: xtfuser.lib

Supported platforms: Windows (for Xbox console tools)

See also

IXtfUserClient
XtfUser