Skip to main content

XtfCaptureOutputEnd

Stop capture of debug output.

Syntax

Parameters

hListen
Type: HANDLE
[in] Listener handle returned by XtfCaptureOutputBegin.

Return value

None.

Remarks

Use the XtfCaptureOutputBegin function and this function to start and stop capturing general debug output from a development console. If you want to monitor debug output from a specific process ID on a development console, use a debug monitor client. For more information about using a debug monitor client, see XtfCreateDebugMonitorClient. Call this function and specify the handle returned in hListen from the XtfCaptureOutputBegin function to stop capturing debug output and free the resources associated with the capture session.
You must call this function to stop a capture session. Otherwise, the capture session is orphaned and the resources associated with the capture session are not freed, causing a memory leak.

Requirements

Header: xtfapi.h Library: XtfApi.lib Supported platforms: Windows (for XBOX console tools)

See also

IXtfDebugMonitorClient Interface
XTF Transport Errors (NDA topic)
Additional Xtf APIs
Last modified on August 20, 2026