XtfCreateApplicationClient
Initializes a new instance of the IXtfApplicationClient interface for the development console with the specified address.
Syntax
HRESULT XtfCreateApplicationClient(
LPCWSTR pszAddress,
REFIID riid,
void **ppvObject
)
Parameters
pszAddress
Type: LPCWSTR
A pointer to the tools IP address of the development console to use for the new IXtfApplicationClient.
riid
Type: REFIID
A pointer that receives the instance identifier of the newly created IXtfApplicationClient.
ppvObject
Type: void**
A pointer that receives a reference to the newly created IXtfApplicationClient.
Return value
Type: HRESULT
Returns S_OK
if successful; otherwise, returns an HRESULT error code.
Remarks
This function creates and attaches a new instance of IXtfApplicationClient to the development console specified in pszAddress
. You can then use the new IXtfApplicationClient
instance for that deployment console to deploy and uninstall apps; launch, terminate, constrain, unconstrain, suspend, resume, and query the execution state of apps; and get and set information about apps.
For more information about available tool and automation APIs, such as Xbox Tools Framework (XTF), see Tool and automation APIs (NDA topic)Requiere autorización.
Requirements
Header: xtfapplication.h
Library: xtfapplication.lib
Supported platforms: Windows (for Xbox console tools)