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

# IXtfRemoteRunCallback::Input (método)

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

<a id="syntaxSection" />

## Sintaxis

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

<a id="ID4EG" />

<a id="parametersSection" />

### Parámetros

*pbstrText*\
Tipo: LPBSTR

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

<a id="retvalSection" />

### Valor devuelto

Tipo: HRESULT

Código de éxito o de error HRESULT.

<a id="remarksSection" />

## 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](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback). La [interfaz IXtfRemoteRunCallback](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback) se usa a su vez como parámetro de la función [IXtfRemoteRunClient::Run](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run). **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).

<a id="requirements" />

## Requisitos

**Encabezado:** xtfremoterun.h

**Biblioteca:** xtfremoterun.lib

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

## Consulte también

[IXtfRemoteRunCallback (interfaz)](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback)\
[IXtfRemoteRunCallback::Output](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_output)\
[IXtfRemoteRunClient::Run](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run)


## Related topics

- [IXtfRemoteRunCallback::Output (método)](/es/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_output.md)
- [IXtfRemoteRunCallback (interfaz)](/es/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)
- [IXtfRemoteRunClient::Run (método)](/es/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md)
- [Método XtfCreateRemoteRunClient](/es/reference/tools/xtf/xtfremoterun/methods/xtfremoterun_xtfcreateremoterunclient.md)
- [IXtfRemoteRunClient (interfaz)](/es/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/interfaces/ixtfremoterunclient.md)
