> ## 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

Arrête la capture de la sortie de débogage.

<a id="syntaxSection" />

## Syntaxe

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

<a id="parametersSection" />

### Paramètres

*hListen*\
Type : HANDLE

\[in] Handle de l'écouteur retourné par [XtfCaptureOutputBegin](/fr-CA/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputbegin-xtfapi-xbox-windows-m).

<a id="retvalSection" />

### Valeur de retour

Aucune.

<a id="remarksSection" />

## Remarques

Utilisez la fonction [XtfCaptureOutputBegin](/fr-CA/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputbegin-xtfapi-xbox-windows-m) et cette fonction pour démarrer et arrêter la capture de la sortie de débogage générale d'une console de développement. Si vous voulez surveiller la sortie de débogage d'un ID de processus précis sur une console de développement, utilisez un client de moniteur de débogage. Pour plus d'informations sur l'utilisation d'un client de moniteur de débogage, consultez [XtfCreateDebugMonitorClient](/fr-CA/reference/tools/xtf/xtfdebugmonitor/methods/xtfcreatedebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m).

Appelez cette fonction en spécifiant le handle retourné dans `hListen` par la fonction `XtfCaptureOutputBegin` pour arrêter la capture de la sortie de débogage et libérer les ressources associées à la session de capture.

<Note>Vous devez appeler cette fonction pour arrêter une session de capture. Sinon, la session de capture devient orpheline et les ressources qui lui sont associées ne sont pas libérées, ce qui provoque une fuite de mémoire.</Note>

<a id="requirements" />

## Configuration requise

**En-tête :** xtfapi.h

**Bibliothèque :** XtfApi.lib

**Plateformes prises en charge :** Windows (pour les outils de console XBOX)

<a id="seealsoSection" />

## Voir aussi

[Interface IXtfDebugMonitorClient](/fr-CA/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-t)\
[Erreurs de transport XTF (rubrique sous NDA)](/fr-CA/tools/tools-console/commandlinetools/xtf-transport-errors)\
[API Xtf supplémentaires](/fr-CA/reference/tools/xtf/xtfapi/atoc-xtfapi)


## Related topics

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