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

# Output

> Méthode IXtfRemoteRunCallback::Output

# Méthode IXtfRemoteRunCallback::Output

Appelée pour recevoir le texte envoyé par l'exécutable distant en cours d'exécution vers sa sortie standard.

## Syntaxe

```cpp theme={null}
public:
HRESULT Output(
         LPCWSTR pszText
)  
```

### Paramètres

*pszText*\
Type : LPCWSTR

Le texte de sortie de l'exécutable distant.

### Valeur de retour

Type : HRESULT

Code de réussite ou d'erreur HRESULT.

## Remarques

La fonction `Output` vous permet de recueillir la sortie d'un exécutable exécuté à distance lorsqu'elle est utilisée dans le cadre de l'[interface IXtfRemoteRunCallback](/fr-CA/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md).\
L'[interface IXtfRemoteRunCallback](/fr-CA/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md) est, à son tour, utilisée comme paramètre de la fonction [IXtfRemoteRunClient::Run](/fr-CA/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md).
`IXtfRemoteRunCallback::Output` est définie par l'utilisateur.

## Configuration requise

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

**Bibliothèque :** xtfremoterun.lib

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

## Voir aussi

[Interface IXtfRemoteRunCallback](/fr-CA/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)\
[IXtfRemoteRunCallback::Input](/fr-CA/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input.md)\
[IXtfRemoteRunClient::Run](/fr-CA/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md)


## Related topics

- [monitoring_output_saved](/fr-CA/services/playfab/api-references/events/MultiplayerServers/monitoring-output-saved.md)
- [OnOutputDebugString](/fr-CA/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/methods/onoutputdebugstring-ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-m.md)
- [GetAutoBreadcrumbsOutput](/fr-CA/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddata/methods/id3d12deviceremovedextendeddata_getautobreadcrumbsoutput_public.md)
- [XApuConnectOutputParameters](/fr-CA/reference/audio/xapu/structs/xapuconnectoutputparameters.md)
- [XtfCaptureOutputBegin](/fr-CA/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputbegin-xtfapi-xbox-windows-m.md)
