XtfGetDefaultAddress
Returns the IP address of the default development console for this PC.Syntax
Parameters
pbstrAddressType: LPBSTR The IP address that this PC uses for its default development console.
Return value
Type: HRESULT ReturnsS_OK if successful; otherwise, returns an HRESULT error code.
Remarks
This method, if successful, gets the IP address of the default development console for this PC inpbstrAddress. You can also use the IXtfConsoleManager::GetDefaultConsole method to retrieve more information about the default development console, or set the default development console by invoking the IXtfConsoleManager::SetDefaultConsole method. The default development console is used by other XBOX Tools Framework (XTF) tools and API.
For more information about querying the default development console, see Connect (xbconnect.exe) (NDA topic).
Handling LPBSTR pointers
For more information about handling LPBSTR pointers returned by this method, see Allocating and Releasing Memory for a BSTR.Requirements
Header: xtfconsolemanager.h Library: xtfconsolemanager.lib Supported platforms: Windows (for XBOX console tools)See also
IXtfConsoleManager InterfaceXtfConsoleManager
