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

> IXtfRemoteRunCallback::Input (método)

# IXtfRemoteRunCallback::Input (método)

Se llama para pasar texto al ejecutable remoto en ejecución a través de su entrada estándar.

## Sintaxis

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

### Parámetros

*pbstrText*\
Tipo: LPBSTR

El texto que se va a enviar a través de la entrada estándar del ejecutable remoto.

### Valor devuelto

Tipo: HRESULT

Código de éxito o de error HRESULT.

## Comentarios

La función **Input** le permite pasar entradas a un ejecutable que se ejecuta de forma remota cuando se usa como parte de la [interfaz IXtfRemoteRunCallback](https://docs.xbox.com/es/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md). La [interfaz IXtfRemoteRunCallback](https://docs.xbox.com/es/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md) se usa a su vez como parámetro de la función [IXtfRemoteRunClient::Run](https://docs.xbox.com/es/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md). **IXtfRemoteRunCallback::Input** la define el usuario.

Para obtener más información sobre cómo controlar los punteros LPBSTR devueltos por esta API, consulte [Asignación y liberación de memoria para un BSTR](https://learn.microsoft.com/cpp/atl-mfc-shared/allocating-and-releasing-memory-for-a-bstr?view=vs-2019).

## Requisitos

**Encabezado:** xtfremoterun.h

**Biblioteca:** xtfremoterun.lib

**Plataformas compatibles:** Windows (para herramientas de consola XBOX)

## Consulte también

[IXtfRemoteRunCallback (interfaz)](https://docs.xbox.com/es/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)\
[IXtfRemoteRunCallback::Output](https://docs.xbox.com/es/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_output.md)\
[IXtfRemoteRunClient::Run](https://docs.xbox.com/es/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md)


## Related topics

- [XInputOnGameInputInitialize](https://docs.xbox.com/es/reference/input/xinputongameinput/functions/xinputongameinputinitialize.md)
- [XInputOnGameInputUninitialize](https://docs.xbox.com/es/reference/input/xinputongameinput/functions/xinputongameinputuninitialize.md)
- [XInputEnable](https://docs.xbox.com/es/reference/input/xinputongameinput/functions/xinputenable.md)
- [Portabilidad de XInput a GameInput](https://docs.xbox.com/es/build/core-features/common/input/porting/input-porting-xinput.md)
- [XInputOnGameInput (contenido de la API)](https://docs.xbox.com/es/reference/input/xinputongameinput/xinputongameinput_members.md)
