Skip to main content

IXtfConsoleManager::RemoveConsole Method

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

Syntax

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).

Requirements

Header: xtfconsolemanager.h Library: xtfconsolemanager.lib Supported platforms: Windows (for XBOX console tools)

See also

IXtfConsoleManager Interface
XtfConsoleManager
Last modified on August 20, 2026