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

# Méthode IXtfRemoteRunCallback::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.

<a id="syntaxSection" />

## Syntaxe

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

<a id="ID4EG" />

<a id="parametersSection" />

### Paramètres

*pszText*\
Type : LPCWSTR

Texte de sortie provenant de l'exécutable distant.

<a id="ID4EP" />

<a id="retvalSection" />

### Valeur de retour

Type : HRESULT

Code de réussite ou d'erreur HRESULT.

<a id="remarks" />

## Remarques

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

<a id="requirements" />

## 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/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback)\
[IXtfRemoteRunCallback::Input](/fr/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input)\
[IXtfRemoteRunClient::Run](/fr/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run)


## Related topics

- [Méthode IXtfRemoteRunCallback::Input](/fr/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input.md)
- [Interface IXtfRemoteRunCallback](/fr/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)
- [Méthode IXtfRemoteRunClient::Run](/fr/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md)
- [Méthode XtfCreateRemoteRunClient](/fr/reference/tools/xtf/xtfremoterun/methods/xtfremoterun_xtfcreateremoterunclient.md)
- [Méthode IXtfDebugMonitorCallback::OnOutputDebugString](/fr/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/methods/onoutputdebugstring-ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-m.md)
