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

> Método IXtfRemoteRunCallback::Output

# Método IXtfRemoteRunCallback::Output

Chamado para receber o texto enviado pelo executável remoto em execução para sua saída padrão.

<a id="syntaxSection" />

## Sintaxe

```cpp theme={null}
public:
HRESULT Output(
         LPCWSTR pszText
)  
```

<a id="ID4EG" />

<a id="parametersSection" />

### Parâmetros

*pszText*\
Tipo: LPCWSTR

O texto de saída do executável remoto.

<a id="ID4EP" />

<a id="retvalSection" />

### Valor retornado

Tipo: HRESULT

Código de sucesso ou de erro HRESULT.

<a id="remarks" />

## Comentários

A função `Output` permite coletar a saída de 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::Output` é definida pelo usuário.

<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::Input](/pt-BR/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input)\
[IXtfRemoteRunClient::Run](/pt-BR/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run)


## Related topics

- [Método IXtfRemoteRunCallback::Input](/pt-BR/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input.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)
- [Método IXtfDebugMonitorCallback::OnOutputDebugString](/pt-BR/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/methods/onoutputdebugstring-ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-m.md)
