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

# PFAuthenticationLoginWithXUserGetResultSize

> PFAuthenticationLoginWithXUserAsync 呼び出しの結果を保存するために必要なサイズをバイト単位で取得します。

PFAuthenticationLoginWithXUserAsync 呼び出しの結果を保存するために必要なサイズをバイト単位で取得します。

## 構文

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

### パラメーター

**`async`**   XAsyncBlock\*\
*Inout*

非同期操作用の XAsyncBlock。

**`bufferSize`**   size\_t\*\
*output*

結果に必要なバッファー サイズ (バイト単位)。

### 戻り値

型: HRESULT

この API 操作の結果コード。サービス呼び出しが失敗した場合、結果は E\_PF\_ENCRYPTION\_KEY\_MISSING, E\_PF\_EVALUATION\_MODE\_PLAYER\_COUNT\_EXCEEDED, E\_PF\_EXPIRED\_XBOX\_LIVE\_TOKEN, E\_PF\_INVALID\_XBOX\_LIVE\_TOKEN, E\_PF\_REQUEST\_VIEW\_CONSTRAINT\_PARAMS\_NOT\_ALLOWED, E\_PF\_SIGNED\_REQUEST\_NOT\_ALLOWED, E\_PF\_XBOX\_INACCESSIBLE, E\_PF\_XBOX\_REJECTED\_XSTS\_EXCHANGE\_REQUEST, E\_PF\_XBOX\_XASS\_EXCHANGE\_FAILURE のいずれか、またはグローバルな PlayFab サービス エラーのいずれかになります。エラー処理の詳細については、ドキュメント ページ「Handling PlayFab Errors」を参照してください。

## 要件

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

## 関連項目

[PFAuthentication のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)


## Related topics

- [PFAuthenticationLoginWithXUserGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxusergetresult.md)
- [PFAuthenticationLoginWithSteamGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithsteamgetresultsize.md)
- [PFAuthenticationLoginWithPSNGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithpsngetresultsize.md)
- [PFAuthenticationLoginWithXboxGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxboxgetresultsize.md)
- [PFAuthenticationLoginWithAppleGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresultsize.md)
