IXtfConsoleManager::GetDefaultConsole Method

Gets information about the default development console from the IXtfConsoleManager instance.

Syntax

public:
HRESULT GetDefaultConsole(
         PXTFCONSOLEDATA pConsoleData
)  

Parameters

pConsoleData
Type: PXTFCONSOLEDATA

A pointer that receives an XTFCONSOLEDATA structure, which contains information about the default development console.

Return value

Type: HRESULT

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

Remarks

This method gets information about the default development console to use with Xbox Tools Framework (XTF) tools and API on this PC from the IXtfConsoleManager instance. The default development console is used if a development console is not otherwise specified when using XTF tools and API on this PC.

For more information about connecting and querying development consoles, see Connect (xbconnect.exe) (NDA topic)Authorization required.

Requirements

Header: xtfconsolemanager.h

Library: xtfconsolemanager.lib

Supported platforms: Windows (for Xbox console tools)

See also

IXtfConsoleManager Interface
XtfConsoleManager