> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XtfCaptureOutputEnd

> XtfCaptureOutputEnd

# XtfCaptureOutputEnd

デバッグ出力のキャプチャを停止します。

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
void XtfCaptureOutputEnd(
         HANDLE hListen
)  
```

<a id="parametersSection" />

### Parameters

*hListen*\
型: HANDLE

\[in] [XtfCaptureOutputBegin](/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputbegin-xtfapi-xbox-windows-m) によって返されたリスナー ハンドルです。

<a id="retvalSection" />

### Return value

なし。

<a id="remarksSection" />

## Remarks

[XtfCaptureOutputBegin](/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputbegin-xtfapi-xbox-windows-m) 関数とこの関数を使用して、開発機からの一般的なデバッグ出力のキャプチャを開始および停止します。開発機の特定のプロセス ID からのデバッグ出力を監視する場合は、デバッグ モニター クライアントを使用してください。デバッグ モニター クライアントの使用方法の詳細については、[XtfCreateDebugMonitorClient](/reference/tools/xtf/xtfdebugmonitor/methods/xtfcreatedebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m) を参照してください。

`XtfCaptureOutputBegin` 関数から `hListen` に返されたハンドルを指定してこの関数を呼び出すと、デバッグ出力のキャプチャを停止し、キャプチャ セッションに関連付けられたリソースを解放します。

<Note>キャプチャ セッションを停止するには、この関数を呼び出す必要があります。呼び出さない場合、キャプチャ セッションは孤立し、それに関連付けられたリソースが解放されないため、メモリ リークが発生します。</Note>

<a id="requirements" />

## Requirements

**ヘッダー:** xtfapi.h

**ライブラリ:** XtfApi.lib

**サポートされているプラットフォーム:** Windows (XBOX コンソール ツール用)

<a id="seealsoSection" />

## See also

[IXtfDebugMonitorClient Interface](/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-t)\
[XTF Transport Errors (NDA topic)](/tools/tools-console/commandlinetools/xtf-transport-errors)\
[Additional Xtf APIs](/reference/tools/xtf/xtfapi/atoc-xtfapi)


## Related topics

- [XtfCaptureOutputBegin](/ja-jp/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputbegin-xtfapi-xbox-windows-m.md)
- [PIXEndCapture](/ja-jp/reference/tools/pix3/functions/pixendcapture.md)
- [XtfDebugStringCallback](/ja-jp/reference/tools/xtf/xtfapi/functions/xtfdebugstringcallback-xtfapi-xbox-windows-m.md)
- [XtfDebugStringErrorCallback](/ja-jp/reference/tools/xtf/xtfapi/functions/xtfdebugstringerrorcallback-xtfapi-xbox-windows-m.md)
- [XtfCaptureScreenshot](/ja-jp/reference/tools/xtf/xtfconsolecontrol/functions/xtfcapturescreenshot.md)
