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

# XUserGetTokenAndSignatureUtf16Data

> XUserGetTokenAndSignatureUtf16Data

# XUserGetTokenAndSignatureUtf16Data

Web リクエスト用の Unicode xtoken および署名を格納します。

## 構文

```cpp theme={null}
typedef struct XUserGetTokenAndSignatureUtf16Data {  
    size_t tokenCount;  
    size_t signatureCount;  
    const wchar_t* token;  
    const wchar_t* signature;  
} XUserGetTokenAndSignatureUtf16Data  
```

### メンバー

*tokenCount*\
Type: size\_t

**token** プロパティ内のバッファーのサイズ (バイト単位) です。

*signatureCount*\
Type: size\_t

**signature** プロパティ内のバッファーのサイズ (バイト単位) です。

*token*\
Type: const wchar\_t\*

Unicode のトークンを格納するバッファーです。

*signature*\
Type: const wchar\_t\*

Unicode の署名を格納するバッファーです。

## 解説

[XUserGetTokenAndSignatureUtf16Async](https://docs.xbox.com/ja-jp/reference/system/xuser/functions/xusergettokenandsignatureutf16async.md) 関数の呼び出し結果を取得するには、[XUserGetTokenAndSignatureUtf16Result](https://docs.xbox.com/ja-jp/reference/system/xuser/functions/xusergettokenandsignatureutf16result.md) 関数を呼び出します。

[XUserGetTokenAndSignatureUtf16Async](https://docs.xbox.com/ja-jp/reference/system/xuser/functions/xusergettokenandsignatureutf16async.md) 関数は、Web リクエスト用の Unicode xtoken と署名を非同期に取得します。

[XUserGetTokenAndSignatureUtf16Result](https://docs.xbox.com/ja-jp/reference/system/xuser/functions/xusergettokenandsignatureutf16result.md) 関数は、XUserGetTokenAndSignatureUtf16Data 構造体へのダブル ポインターを引数として使用します。

## 要件

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

**サポートされているプラットフォーム:** Windows、XBOX One ファミリ本体および XBOX Series 本体

## 概念ドキュメント

* [WinHTTP の概要](https://docs.xbox.com/ja-jp/build/console-features/networking/web-requests/intro-winhttp.md)

## 関連項目

[XUser](https://docs.xbox.com/ja-jp/reference/system/xuser/xuser_members.md)

[XUserGetTokenAndSignatureUtf16Async](https://docs.xbox.com/ja-jp/reference/system/xuser/functions/xusergettokenandsignatureutf16async.md)

[XUserGetTokenAndSignatureUtf16Result](https://docs.xbox.com/ja-jp/reference/system/xuser/functions/xusergettokenandsignatureutf16result.md)


## Related topics

- [XUserGetTokenAndSignatureUtf16Result](https://docs.xbox.com/ja-jp/reference/system/xuser/functions/xusergettokenandsignatureutf16result.md)
- [WinHTTP の概要](https://docs.xbox.com/ja-jp/build/console-features/networking/web-requests/intro-winhttp.md)
- [XUser (API の内容)](https://docs.xbox.com/ja-jp/reference/system/xuser/xuser_members.md)
- [XUserGetTokenAndSignatureUtf16Async](https://docs.xbox.com/ja-jp/reference/system/xuser/functions/xusergettokenandsignatureutf16async.md)
- [XUserGetTokenAndSignatureUtf16ResultSize](https://docs.xbox.com/ja-jp/reference/system/xuser/functions/xusergettokenandsignatureutf16resultsize.md)
