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

# PFAuthenticationServerLoginWithBattleNetGetResultSize

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

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

## Sintaxis

```cpp theme={null}
HRESULT PFAuthenticationServerLoginWithBattleNetGetResultSize(  
    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\_ACCOUNT\_NOT\_FOUND, E\_PF\_BATTLE\_NET\_NOT\_ENABLED\_FOR\_TITLE, E\_PF\_ENCRYPTION\_KEY\_MISSING, E\_PF\_EVALUATION\_MODE\_PLAYER\_COUNT\_EXCEEDED, E\_PF\_INVALID\_AUTH\_TOKEN, E\_PF\_INVALID\_SIGNATURE, E\_PF\_INVALID\_SIGNATURE\_TIME, E\_PF\_INVALID\_TITLE\_ID, E\_PF\_PLAYER\_SECRET\_ALREADY\_CONFIGURED, E\_PF\_PLAYER\_SECRET\_NOT\_CONFIGURED, 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](/es/services/playfab/api-references/c/pfauthentication/pfauthentication_members)


## Related topics

- [PFAuthenticationServerLoginWithBattleNetGetResult](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithbattlenetgetresult.md)
- [PFAuthenticationLoginWithBattleNetGetResultSize](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithbattlenetgetresultsize.md)
- [PFAuthenticationLoginWithBattleNetGetResult](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithbattlenetgetresult.md)
- [PFAuthenticationServerLoginWithBattleNetAsync](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithbattlenetasync.md)
- [PFAuthenticationServerLoginWithBattleNetRequest](/es/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationserverloginwithbattlenetrequest.md)
