IXtfEnumerateConsolesCallback::OnConsoleFound Method
Called when a development console is found during an IXtfConsoleManager::EnumerateConsoles operation.
Syntax
public:
HRESULT OnConsoleFound(
const XTFCONSOLEDATA *pConsoleData
)
Parameters
pConsoleData
Type: XTFCONSOLEDATA*
A pointer that receives an XTFCONSOLEDATA structure, which contains information about the development console that was found.
Return value
Type: HRESULT
Returns S_OK
if successful; otherwise, returns an HRESULT error code.
Remarks
This callback method is invoked by an IXtfConsoleManager instance for each development console found during the invocation of the EnumerateConsoles method for that instance. This method provides information, including the name and Tools IP address, about the found development console.
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::GetConsole Method
IXtfConsoleManager::GetDefaultConsole Method
IXtfEnumerateConsolesCallback Interface
XtfConsoleManager