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

> Obtiene el tamaño en bytes necesario para almacenar el resultado de una llamada a PFAuthenticationLoginWithPSNAsync.

Obtiene el tamaño en bytes necesario para almacenar el resultado de una llamada a PFAuthenticationLoginWithPSNAsync.

## Sintaxis

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

### Parámetros

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

XAsyncBlock para la operación asincrónica.

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

Tamaño del búfer en bytes necesario para el resultado.

### Valor devuelto

Tipo: HRESULT

Código de resultado de esta operación de API. Si la llamada al servicio no se realiza correctamente, el resultado será 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 o cualquiera de los errores globales de PlayFab Service. Consulte la página de documentación "Handling PlayFab Errors" para obtener más detalles sobre el control de errores.

## Requisitos

**Encabezado:** PFAuthentication.h

## Consulte también

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


## Related topics

- [PFAuthenticationLoginWithPSNGetResult](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithpsngetresult.md)
- [PFAuthenticationLoginWithSteamGetResultSize](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithsteamgetresultsize.md)
- [PFAuthenticationLoginWithFacebookGetResultSize](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithfacebookgetresultsize.md)
- [PFAuthenticationLoginWithAppleGetResultSize](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresultsize.md)
- [PFAuthenticationLoginWithCustomIDGetResultSize](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithcustomidgetresultsize.md)
