> ## 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 介面

> IXtfRemoteRunCallback 介面

# IXtfRemoteRunCallback 介面

提供當遠端可執行檔的標準輸入或標準輸出由 [Run](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run) 重新導向時所使用的回呼。

<a id="syntaxSection" />

## 語法

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

## 方法

| 方法 | 描述 |
| - | - |
| [Input](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input) | 呼叫以透過標準輸入將文字傳入執行中的遠端可執行檔。 |
| [Output](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_output) | 呼叫以接收執行中的遠端可執行檔傳送至其標準輸出的文字。 |

<a id="requirements" />

## 備註

當要呼叫的可執行檔需要輸入，或寫入需要收集的輸出時，**IXtfRemoteRunCallback** 介面會作為參數傳入 [IXtfRemoteRunClient::Run](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run)。此介面同時包含[輸入回呼函式](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input)和[輸出回呼函式](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_output)。這兩者可以彼此獨立指派值，以為可執行檔提供輸入或輸出讀取功能。**IXtfRemoteRunCallback** 介面由使用者定義。

## 需求

**標頭：** xtfremoterun.h

**程式庫：** xtfremoterun.lib

**支援的平台：** Windows (適用於 XBOX 主機工具)

<a id="ID4E4" />

## 另請參閱

<a id="ID4E6" />

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


## Related topics

- [IXtfRemoteRunCallback::Output 方法](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_output.md)
- [IXtfRemoteRunCallback::Input 方法](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input.md)
- [IXtfRemoteRunClient 介面](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/interfaces/ixtfremoterunclient.md)
- [XtfCreateRemoteRunClient 方法](/zh-TW/reference/tools/xtf/xtfremoterun/methods/xtfremoterun_xtfcreateremoterunclient.md)
- [IXtfRemoteRunClient::Run 方法](/zh-TW/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md)
