XtfGetSavedConsoleAddress

Gets the Tools IP address of the default console for Xbox Tools Framework (XTF) apps.

Syntax

HRESULT XtfGetSavedConsoleAddress(
         BSTR* savedAddress
)  

Parameters

savedAddress
Type: BSTR*

[in] A pointer to the address of the default console for XTF apps.

Return value

Type: HRESULT

Returns S_OK if successful; otherwise, returns an HRESULT error code.

Remarks

This function gets the Tools IP address from the development console identified by the IXtfConsoleManager::SetDefaultConsole method as the default console for Xbox Tools Framework (XTF) apps. XtfGetSavedConsoleAddress is a utility function that gets the value of the bstrAddress member from the XTFCONSOLEDATA structure returned by the IXtfConsoleManager::GetDefaultConsole method of the console manager. For more information about the console manager, see IXtfConsoleManager Interface.

Requirements

Header: xtfutils.h

Library: XtfApi.lib

Supported platforms: Windows (for Xbox console tools)

See also

Run from PC Deployment (NDA topic)Authorization required
XTF Transport Errors (NDA topic)Authorization required
Additional Xtf APIs