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

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

## Syntaxe

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

### Paramètres

*pbstrText*\
Type : LPBSTR

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

### Valeur de retour

Type : HRESULT

Code de réussite ou d'erreur HRESULT.

## 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](https://docs.xbox.com/fr/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md). L'[interface IXtfRemoteRunCallback](https://docs.xbox.com/fr/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md) est à son tour utilisée comme paramètre de la fonction [IXtfRemoteRunClient::Run](https://docs.xbox.com/fr/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md). **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).

## 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](https://docs.xbox.com/fr/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)\
[IXtfRemoteRunCallback::Output](https://docs.xbox.com/fr/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_output.md)\
[IXtfRemoteRunClient::Run](https://docs.xbox.com/fr/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md)


## Related topics

- [XInputOnGameInputInitialize](https://docs.xbox.com/fr/reference/input/xinputongameinput/functions/xinputongameinputinitialize.md)
- [XInputOnGameInputUninitialize](https://docs.xbox.com/fr/reference/input/xinputongameinput/functions/xinputongameinputuninitialize.md)
- [XInputEnable](https://docs.xbox.com/fr/reference/input/xinputongameinput/functions/xinputenable.md)
- [GameInput Dynamic Latency Input](https://docs.xbox.com/fr/build/core-features/common/input/advanced/input-synchronization.md)
- [XInputOnGameInput (contenu de l'API)](https://docs.xbox.com/fr/reference/input/xinputongameinput/xinputongameinput_members.md)
