XtfCreateDebugMonitorClient
初始化 IXtfDebugMonitorClient 介面的新執行個體。語法
參數
pszAddress類型:LPCWSTR 指向要從中接收偵錯輸出之開發主機的工具 IP 位址的指標。 riid
類型:REFIID 接收新建立之 IXtfDebugMonitorClient 之執行個體識別碼的指標。 ppvObject
類型:void ** 接收新建立之 IXtfDebugMonitorClient 參考的指標。
傳回值
類型:HRESULT HRESULT 成功或錯誤碼。備註
IXtfDebugMonitorClient 介面可讓您接收來自開發主機上遊戲的偵錯輸出。建立用戶端之後,您可以使用其 start 和 stop 函式來決定何時接聽來自開發主機的偵錯輸出。此外,您還需要定義 IXtfDebugMonitorCallback,以便在開發主機有要擷取的輸出時呼叫它。需求
標頭: xtfdebugmonitor.h 程式庫: xtfdebugmonitor.lib 支援的平台: Windows (適用於 XBOX 主機工具)另請參閱
XtfDebugMonitorIXtfDebugMonitorClient
start
stop
