Compartir a través de


IXtfConsoleManager::EnumerateConsoles method

Enumerates the development consoles in the IXtfConsoleManager instance.

Syntax

public:
HRESULT EnumerateConsoles(
         IXtfEnumerateConsolesCallback *pCallback
)  

Parameters

pCallback
Type: IXtfEnumerateConsolesCallback*

A pointer to the IXtfEnumerateConsolesCallback callback to invoke when a console has been enumerated.

Return value

Type: HRESULT

Returns S_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, the IXtfConsoleManager 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)Requiere autorización.

Requirements

Header: xtfconsolemanager.h

Library: xtfconsolemanager.lib

Supported platforms: Windows (for Xbox console tools)

See also

IXtfConsoleManager::GetConsole Method
IXtfConsoleManager::GetDefaultConsole Method
IXtfConsoleManager Interface
XtfConsoleManager