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

# PFAuthenticationLoginWithPSNGetResultSize

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

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

## 構文

```cpp theme={null}
HRESULT PFAuthenticationLoginWithPSNGetResultSize(  
    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\_INVALID\_PSN\_AUTH\_CODE, E\_PF\_INVALID\_PSN\_ISSUER\_ID, E\_PF\_PLAYER\_SECRET\_ALREADY\_CONFIGURED, E\_PF\_PLAYER\_SECRET\_NOT\_CONFIGURED, E\_PF\_PSN\_INACCESSIBLE, E\_PF\_REQUEST\_VIEW\_CONSTRAINT\_PARAMS\_NOT\_ALLOWED のいずれか、またはグローバルな PlayFab サービス エラーのいずれかになります。エラー処理の詳細については、ドキュメント ページ「Handling PlayFab Errors」を参照してください。

## 要件

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

## 関連項目

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


## Related topics

- [PFAuthenticationLoginWithXboxGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxboxgetresultsize.md)
- [PFAuthenticationLoginWithXUserGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxusergetresultsize.md)
- [PFAuthenticationLoginWithSteamGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithsteamgetresultsize.md)
- [PFAuthenticationLoginWithAppleGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresultsize.md)
- [PFAuthenticationLoginWithCustomIDGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithcustomidgetresultsize.md)
