> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFAuthenticationLoginWithPSNGetResultSize

> Obtient la taille en octets nécessaire pour stocker le résultat d'un appel PFAuthenticationLoginWithPSNAsync.

Obtient la taille en octets nécessaire pour stocker le résultat d'un appel PFAuthenticationLoginWithPSNAsync.

## Syntaxe

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

### Paramètres

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock pour l'opération asynchrone.

**`bufferSize`**   size\_t\*<br />*output*

La taille de mémoire tampon en octets requise pour le résultat.

### Valeur de retour

Type : HRESULT

Code de résultat de cette opération d'API. Si l'appel au service échoue, le résultat sera E\_PF\_ENCRYPTION\_KEY\_MISSING, E\_PF\_EVALUATION\_MODE\_PLAYER\_COUNT\_EXCEEDED, E\_PF\_FEATURE\_NOT\_CONFIGURED\_FOR\_TITLE, E\_PF\_INVALID\_PARAMS, 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\_PSN\_NEXT\_GEN\_NOT\_CONFIGURED\_FOR\_TITLE, E\_PF\_REQUEST\_VIEW\_CONSTRAINT\_PARAMS\_NOT\_ALLOWED ou l'une des erreurs globales du service PlayFab. Consultez la page de documentation "Handling PlayFab Errors" pour plus de détails sur la gestion des erreurs.

## Configuration requise

**En-tête :** PFAuthentication.h

## Voir aussi

[Membres de PFAuthentication](/fr/services/playfab/api-references/c/pfauthentication/pfauthentication_members)


## Related topics

- [PFAuthenticationLoginWithXboxGetResultSize](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxboxgetresultsize.md)
- [PFAuthenticationLoginWithXUserGetResultSize](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxusergetresultsize.md)
- [PFAuthenticationLoginWithSteamGetResultSize](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithsteamgetresultsize.md)
- [PFAuthenticationLoginWithAppleGetResultSize](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresultsize.md)
- [PFAuthenticationLoginWithCustomIDGetResultSize](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithcustomidgetresultsize.md)
