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

# IXtfRemoteRunCallback Interface (Interface contents)

> IXtfRemoteRunCallback Interface

Provides callbacks to be used when standard input or standard output of a remote executable are redirected by [Run](https://docs.xbox.com/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md).

## Syntax

```cpp theme={null}
interface IXtfRemoteRunCallback : public IUnknown  
```

## Methods

| Method | Description |
| - | - |
| [Input](https://docs.xbox.com/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input.md) | Called to pass text into the running remote executable via its standard input. |
| [Output](https://docs.xbox.com/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_output.md) | Called to receive text sent by running remote executable to its standard output. |

## Remarks

The **IXtfRemoteRunCallback** interface is passed into [IXtfRemoteRunClient::Run](https://docs.xbox.com/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md) as a parameter in the event that the executable to be called requires an input, or writes some output that needs to be collected. The interface contains both an [input callback function](https://docs.xbox.com/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input.md), and an [output callback function](https://docs.xbox.com/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_output.md). These can be assigned value independent of each other to provide input or output reading capability for an executable. The **IXtfRemoteRunCallback** interface is user defined.

## Requirements

**Header:** xtfremoterun.h

**Library:** xtfremoterun.lib

**Supported platforms:** Windows (for XBOX console tools)

## See also

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


## Related topics

- [IXtfRemoteRunClient Interface (Interface contents)](https://docs.xbox.com/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/interfaces/ixtfremoterunclient.md)
- [IXtfRunningProcessCallback (Interface contents)](https://docs.xbox.com/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfRunningProcessCallback/ixtfrunningprocesscallback.md)
- [IXtfDeployCallback Interface (Interface contents)](https://docs.xbox.com/reference/tools/xtf/xtfapplication/classes/IXtfDeployCallback/ixtfdeploycallback-xtfapplication-xbox-microsoft-t.md)
- [IXtfFindFileCallback Interface (Interface contents)](https://docs.xbox.com/reference/tools/xtf/xtffileio/classes/IXtfFindFileCallback/ixtffindfilecallback-xtffileio-xbox-microsoft-t.md)
- [IXtfCopyFileCallback Interface (Interface contents)](https://docs.xbox.com/reference/tools/xtf/xtffileio/classes/IXtfCopyFileCallback/ixtfcopyfilecallback-xtffileio-xbox-microsoft-t.md)
