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

# Input

> IXtfRemoteRunCallback::Input メソッド

# IXtfRemoteRunCallback::Input メソッド

実行中のリモート実行ファイルの標準入力を介してテキストを渡すために呼び出されます。

## 構文

```cpp theme={null}
public:
HRESULT Input(
         LPBSTR pbstrText
)  
```

### パラメーター

*pbstrText*\
型: LPBSTR

リモート実行ファイルの標準入力を通じて送信するテキスト。

### 戻り値

型: HRESULT

HRESULT の成功またはエラー コード。

## 解説

**Input** 関数は、[IXtfRemoteRunCallback インターフェイス](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)の一部として使用されているときに、リモートで実行される実行ファイルに入力を渡すことができます。[IXtfRemoteRunCallback インターフェイス](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md) は、[IXtfRemoteRunClient::Run](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md) 関数のパラメーターとして使用されます。**IXtfRemoteRunCallback::Input** はユーザー定義です。

この API が返す LPBSTR ポインターの扱い方の詳細については、[Allocating and Releasing Memory for a BSTR](https://learn.microsoft.com/cpp/atl-mfc-shared/allocating-and-releasing-memory-for-a-bstr?view=vs-2019) を参照してください。

## 要件

**ヘッダー:** xtfremoterun.h

**ライブラリ:** xtfremoterun.lib

**対応プラットフォーム:** Windows (XBOX コンソール ツール用)

## 関連項目

[IXtfRemoteRunCallback インターフェイス](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)\
[IXtfRemoteRunCallback::Output](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_output.md)\
[IXtfRemoteRunClient::Run](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md)


## Related topics

- [Input](https://docs.xbox.com/ja-jp/build/core-features/common/input/gc-input-toc.md)
- [XInputOnGameInputInitialize](https://docs.xbox.com/ja-jp/reference/input/xinputongameinput/functions/xinputongameinputinitialize.md)
- [XInputOnGameInputUninitialize](https://docs.xbox.com/ja-jp/reference/input/xinputongameinput/functions/xinputongameinputuninitialize.md)
- [XInputEnable](https://docs.xbox.com/ja-jp/reference/input/xinputongameinput/functions/xinputenable.md)
- [GameInput Dynamic Latency Input](https://docs.xbox.com/ja-jp/build/core-features/common/input/advanced/input-synchronization.md)
