IXtfConsoleManager::EnumerateConsoles method
Enumerates the development consoles in the IXtfConsoleManager instance.Syntax
Parameters
pCallbackType: IXtfEnumerateConsolesCallback* A pointer to the IXtfEnumerateConsolesCallback callback to invoke when a console has been enumerated.
Return value
Type: HRESULT ReturnsS_OK if successful; otherwise, returns an HRESULT error code.
Remarks
This method enumerates the development consoles in the IXtfConsoleManager instance. For each development console found in the instance, theIXtfConsoleManager instance invokes the OnConsoleFound callback method from the IXtfEnumerateConsolesCallback interface specified in pCallback. The OnConsoleFound method, in turn, provides an XTFCONSOLEDATA structure that contains information about that development console.
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::GetConsole MethodIXtfConsoleManager::GetDefaultConsole Method
IXtfConsoleManager Interface
XtfConsoleManager
