Share via


XtfCreateDebugMonitorClient

Initializes a new instance of the IXtfDebugMonitorClient interface.

Syntax

HRESULT XtfCreateDebugMonitorClient(
         LPCWSTR pszAddress,
         REFIID riid,
         void **ppvObject
)  

Parameters

pszAddress
Type: LPCWSTR

Pointer to the tools IP address of the development console to receive debug output from.

riid
Type: REFIID

Pointer that receives the instance identifier of the newly created IXtfDebugMonitorClient.

ppvObject
Type: void **

Pointer that receives a reference to the newly created IXtfDebugMonitorClient.

Return value

Type: HRESULT

HRESULT success or error code.

Remarks

The IXtfDebugMonitorClient interface will allow you to receive debug output from your game on a development console. After creating the client you can use its start and stop functions to determine when to listen for debug output from the development console. In addition you will want to define an IXtfDebugMonitorCallback to be called when there is output to be captured from the development console.

Requirements

Header: xtfdebugmonitor.h

Library: xtfdebugmonitor.lib

Supported platforms: Windows (for Xbox console tools)

See also

XtfDebugMonitor
IXtfDebugMonitorClient
start
stop