> ## 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 メソッド

> IXtfRemoteRunCallback::Output メソッド

# IXtfRemoteRunCallback::Output メソッド

実行中のリモート実行ファイルから標準出力に送信されたテキストを受け取るために呼び出されます。

<a id="syntaxSection" />

## 構文

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

<a id="ID4EG" />

<a id="parametersSection" />

### パラメーター

*pszText*\
型: LPCWSTR

リモート実行ファイルからの出力テキスト。

<a id="ID4EP" />

<a id="retvalSection" />

### 戻り値

型: HRESULT

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

<a id="remarks" />

## 解説

`Output` 関数は、[IXtfRemoteRunCallback インターフェイス](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback)の一部として使用されているときに、リモートで実行される実行ファイルからの出力を収集できます。\
[IXtfRemoteRunCallback インターフェイス](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback) は、[IXtfRemoteRunClient::Run](/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run) 関数のパラメーターとして使用されます。
`IXtfRemoteRunCallback::Output` はユーザー定義です。

<a id="requirements" />

## 要件

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

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

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

## 関連項目

[IXtfRemoteRunCallback インターフェイス](/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 メソッド](/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input.md)
- [IXtfRemoteRunCallback インターフェイス](/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)
- [IXtfRemoteRunClient::Run メソッド](/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md)
- [XtfCreateRemoteRunClient メソッド](/ja-jp/reference/tools/xtf/xtfremoterun/methods/xtfremoterun_xtfcreateremoterunclient.md)
- [IXtfFindFileCallback::OnFoundFile メソッド](/ja-jp/reference/tools/xtf/xtffileio/classes/IXtfFindFileCallback/methods/onfoundfile-ixtffindfilecallback-xtffileio-xbox-microsoft-m.md)
