> ## 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::Output (método)

> IXtfRemoteRunCallback::Output (método)

# IXtfRemoteRunCallback::Output (método)

Se llama para recibir el texto que el ejecutable remoto en ejecución envía a su salida estándar.

<a id="syntaxSection" />

## Sintaxis

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

<a id="ID4EG" />

<a id="parametersSection" />

### Parámetros

*pszText*\
Tipo: LPCWSTR

El texto de salida del ejecutable remoto.

<a id="ID4EP" />

<a id="retvalSection" />

### Valor devuelto

Tipo: HRESULT

Código de éxito o de error HRESULT.

<a id="remarks" />

## Comentarios

La función `Output` le permite recopilar la salida de 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::Output` la define el usuario.

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


## Related topics

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