Compartir a través de


IXtfConsoleManager::RemoveConsole Method

Removes the development console with the specified name from the IXtfConsoleManager instance.

Syntax

public:
HRESULT RemoveConsole(
         LPCWSTR pszAlias
)  

Parameters

pszAlias
Type: LPCWSTR

A pointer to the name of the development console to remove.

Return value

Type: HRESULT

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

Remarks

This method removes the development console with the name specified in pszAlias from the IXtfConsoleManager instance.

After this method is successfully called, the IXtfConsoleManager instance invokes the OnRemoveConsole callback method from the associated IXtfConsoleManagerCallback instance. If the default development console is removed, the OnChangedDefaultConsole callback method from the associated IXtfConsoleManagerCallback instance is also invoked.

For more information about connecting and querying development consoles, see Connect (xbconnect.exe) (NDA topic)Requiere autorización.

Requirements

Header: xtfconsolemanager.h

Library: xtfconsolemanager.lib

Supported platforms: Windows (for Xbox console tools)

See also

IXtfConsoleManager Interface
XtfConsoleManager