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

> Méthode IXtfRemoteRunCallback::Input

# Méthode IXtfRemoteRunCallback::Input

Appelée pour transmettre du texte à l'exécutable distant en cours d'exécution via son entrée standard.

<a id="syntaxSection" />

## Syntaxe

```cpp theme={null}
public:
HRESULT Input(
         LPBSTR pbstrText
)  
```

<a id="ID4EG" />

<a id="parametersSection" />

### Paramètres

*pbstrText*\
Type : LPBSTR

Texte à envoyer à l'exécutable distant via l'entrée standard.

<a id="retvalSection" />

### Valeur de retour

Type : HRESULT

Code de réussite ou d'erreur HRESULT.

<a id="remarksSection" />

## Remarques

La fonction **Input** vous permet de transmettre une entrée à 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::Input** est définie par l'utilisateur.

Pour plus d'informations sur la gestion des pointeurs LPBSTR renvoyés par cette API, consultez [Allocation et libération de mémoire pour un BSTR](https://learn.microsoft.com/cpp/atl-mfc-shared/allocating-and-releasing-memory-for-a-bstr?view=vs-2019).

<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::Output](/fr/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_output)\
[IXtfRemoteRunClient::Run](/fr/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run)


## Related topics

- [IXtfRemoteRunCallback::Input Method](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input.md)
- [IXtfRemoteRunCallback::Input (método)](/es/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input.md)
- [IXtfRemoteRunCallback Interface](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)
- [IXtfRemoteRunCallback (interfaz)](/es/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)
- [IXtfRemoteRunCallback::Input メソッド](/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input.md)
