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

# XtfCreateRemoteRunClient

> XtfCreateRemoteRunClient メソッド

# XtfCreateRemoteRunClient メソッド

指定されたアドレスで、IXtfRemoteRunClient インターフェイスの新しいインスタンスを初期化します。

## 構文

```cpp theme={null}
HRESULT XtfCreateRemoteRunClient(
         LPCWSTR pszAddress,
         REFIID riid,
         void **ppvObject
)  
```

### パラメーター

*pszAddress*\
型: LPCWSTR

新しい [IXtfRemoteRunClient](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/interfaces/ixtfremoterunclient.md) で使用する開発コンソールのツール IP アドレスへのポインター。

*riid*\
型: REFIID

新しく作成された [IXtfRemoteRunClient](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/interfaces/ixtfremoterunclient.md) のインスタンス識別子を受け取るポインター。

*ppvObject*\
型: void \*\*

新しく作成された [IXtfRemoteRunClient](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/interfaces/ixtfremoterunclient.md) への参照を受け取るポインター。

### 戻り値

型: HRESULT

操作の結果。

## 解説

[リモート実行クライアント](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/interfaces/ixtfremoterunclient.md)は、コンソール上で実行ファイルを呼び出すクラスです。\
このクラスは、テスト ツールから *kill process* のような一般的なコマンド ライン命令まで、さまざまな実行ファイルを実行するために使用できます。
実行クライアントを作成した後、その [Run](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md) 関数を使用して実行ファイルを実行できます。
入力や出力が必要な実行ファイルを実行するには、[IXtfRemoteRunCallback のインターフェイス](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)を [Run](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md) 関数のパラメーターとして使用する必要があります。

## 要件

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

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

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

## 関連項目

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


## Related topics

- [XtfRemoteRun メンバー (API の目次)](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/xtfremoterun_members.md)
- [IXtfRemoteRunClient インターフェイス (インターフェイスの目次)](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/interfaces/ixtfremoterunclient.md)
- [Run](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md)
- [IXtfRemoteRunCallback インターフェイス (インターフェイスの内容)](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)
- [Input](https://docs.xbox.com/ja-jp/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_input.md)
