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

# XGameUiShowWebAuthenticationResultSize

> XGameUiShowWebAuthenticationResultSize

# XGameUiShowWebAuthenticationResultSize

以前に完了した認証要求の結果を格納するために必要なバッファーのサイズを取得します。サーバー応答には任意の量のデータが含まれる可能性があるため、このサイズは可変です。

## Syntax

```cpp theme={null}
HRESULT XGameUiShowWebAuthenticationResultSize(  
         XAsyncBlock* async,  
         size_t* bufferSize  
)  
```

### Parameters

*async*   \_Inout\_\
型: [XAsyncBlock\*](https://docs.xbox.com/ja-jp/reference/system/xasync/structs/xasyncblock.md)

[XGameUiShowWebAuthenticationAsync](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowwebauthenticationasync.md) に渡された [XAsyncBlock](https://docs.xbox.com/ja-jp/reference/system/xasync/structs/xasyncblock.md) へのポインター。

*bufferSize*   \_Out\_\
型: size\_t\*

[XGameUiShowWebAuthenticationAsync](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowwebauthenticationasync.md) 呼び出しから返される [XGameUiWebAuthenticationResultData](https://docs.xbox.com/ja-jp/reference/system/xgameui/structs/xgameuiwebauthenticationresultdata.md) のサイズ (バイト単位)。

### Return value

型: HRESULT

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

## Remarks

このメソッドは *AsyncBlock* コールバック内、または *AsyncBlock* の完了後に呼び出します。[XGameUiShowWebAuthenticationResult](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowwebauthenticationresult.md) で返される結果データを格納するのに十分なサイズのバッファーを割り当てるために、このメソッドを呼び出す必要があります。

このメソッドの使用例については、[XGameUiShowWebAuthenticationAsync](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowwebauthenticationasync.md) のコード例を参照してください。

## Requirements

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

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

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

## See also

[XGameUI](https://docs.xbox.com/ja-jp/reference/system/xgameui/xgameui_members.md)\
[XGameUiShowWebAuthenticationAsync](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowwebauthenticationasync.md)\
[XGameUiShowWebAuthenticationResult](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowwebauthenticationresult.md)\
[XGameUiWebAuthenticationResultData](https://docs.xbox.com/ja-jp/reference/system/xgameui/structs/xgameuiwebauthenticationresultdata.md)\
[非同期プログラミング モデル](https://docs.xbox.com/ja-jp/build/core-features/common/async/async-programming-model.md)


## Related topics

- [XGameUiShowWebAuthenticationResult](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowwebauthenticationresult.md)
- [XGameUiShowWebAuthenticationAsync](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowwebauthenticationasync.md)
- [XGameUiShowWebAuthenticationWithOptionsAsync](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowwebauthenticationwithoptionsasync.md)
- [XGameUiWebAuthenticationResultData](https://docs.xbox.com/ja-jp/reference/system/xgameui/structs/xgameuiwebauthenticationresultdata.md)
- [XGameUiWebAuthenticationOptions](https://docs.xbox.com/ja-jp/reference/system/xgameui/enums/xgameuiwebauthenticationoptions.md)
