> ## 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étodo IXtfRemoteRunCallback::Input

> Método IXtfRemoteRunCallback::Input

# Método IXtfRemoteRunCallback::Input

Chamado para passar texto ao executável remoto em execução por meio de sua entrada padrão.

<a id="syntaxSection" />

## Sintaxe

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

<a id="ID4EG" />

<a id="parametersSection" />

### Parâmetros

*pbstrText*\
Tipo: LPBSTR

O texto a ser enviado por meio da entrada padrão para o executável remoto.

<a id="retvalSection" />

### Valor retornado

Tipo: HRESULT

Código de sucesso ou de erro HRESULT.

<a id="remarksSection" />

## Comentários

A função **Input** permite passar entrada para um executável executado remotamente quando ela é usada como parte da [Interface IXtfRemoteRunCallback](/pt-BR/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback). A [Interface IXtfRemoteRunCallback](/pt-BR/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback), por sua vez, é usada como parâmetro para a função [IXtfRemoteRunClient::Run](/pt-BR/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run). **IXtfRemoteRunCallback::Input** é definida pelo usuário.

Para obter mais informações sobre como lidar com os ponteiros LPBSTR retornados por esta API, consulte [Alocando e liberando memória para um BSTR](https://learn.microsoft.com/cpp/atl-mfc-shared/allocating-and-releasing-memory-for-a-bstr?view=vs-2019).

<a id="requirements" />

## Requisitos

**Cabeçalho:** xtfremoterun.h

**Biblioteca:** xtfremoterun.lib

**Plataformas com suporte:** Windows (para ferramentas de console XBOX)

## Confira também

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


## Related topics

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