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

# WdStringResultCallback

> WdStringResultCallback

UTF-8 文字列の結果を 1 つ受け取ります。

**導入バージョン:** [RIT 0.0.14-preview](https://docs.xbox.com/ja-jp/reference/remoting/release-versions.md#release-versions)。

## 構文

```cpp theme={null}
typedef void(WD_REMOTE_ITERATION_CALL* WdStringResultCallback)(
    _In_z_ const char* value,
    _In_opt_ void* context
);
```

### パラメーター

`value`\
型: **const char\***

借用された、null で終わる UTF-8 の結果文字列。

`context`\
型: **void\***

API に渡された、呼び出し元が所有するポインター。

### 戻り値

このコールバックは値を返しません。

## 解説

void を返します。単一の結果を返すクエリでは、続行するかどうかを判断する必要はありません。

コールバックは、API が結果またはスナップショットを処理している間、API 呼び出しから戻る前に配信されます。構造体と文字列へのポインターはコールバックの間だけ借用されます。後で必要な値はコピーしてください。`context` は、API に渡された、呼び出し元が所有するポインターです。

## 要件

| 要件 | 値 |
| - | - |
| **ヘッダー** | WdRemoteIteration.h |
| **ライブラリ** | wdremoteapi.lib |
| **NuGet パッケージ** | [Microsoft.GDK.RemoteIterationClientApi](https://aka.ms/GameDevRemoteAPI) |

## 関連項目

* [XBOX PC Remote Iteration API](https://docs.xbox.com/ja-jp/reference/remoting/remoteiteration_members.md)


## Related topics

- [WdGetDeviceStoragePath](https://docs.xbox.com/ja-jp/reference/remoting/functions/wdgetdevicestoragepath.md)
- [WdGetDeviceProperty](https://docs.xbox.com/ja-jp/reference/remoting/functions/wdgetdeviceproperty.md)
- [WdDeviceInfoResultCallback](https://docs.xbox.com/ja-jp/reference/remoting/callbacks/wddeviceinforesultcallback.md)
- [XblStringVerifyStringsResult](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringsresult.md)
- [XblStringVerifyStringResult](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringresult.md)
