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

> IXtfRemoteRunCallback Interface

# IXtfRemoteRunCallback Interface

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

<a id="syntaxSection" />

## Syntax

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

## Methods

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

<a id="requirements" />

## Remarks

The **IXtfRemoteRunCallback** interface is passed into [IXtfRemoteRunClient::Run](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run) 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](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input), and an [output callback function](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_output). 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)

<a id="ID4E4" />

## See also

<a id="ID4E6" />

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


## Related topics

- [IXtfRemoteRunCallback::Output Method](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_output.md)
- [IXtfRemoteRunCallback::Input Method](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input.md)
- [IXtfRemoteRunClient Interface](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/interfaces/ixtfremoterunclient.md)
- [XtfCreateRemoteRunClient Method](/reference/tools/xtf/xtfremoterun/methods/xtfremoterun_xtfcreateremoterunclient.md)
- [IXtfRemoteRunClient::Run Method](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md)
