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

# PFFriendsServerGetFriendsListGetResultSize

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

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

## Sintaxis

```cpp theme={null}
HRESULT PFFriendsServerGetFriendsListGetResultSize(  
    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\_EXPIRED\_XBOX\_LIVE\_TOKEN, E\_PF\_FACEBOOK\_API\_ERROR, E\_PF\_INVALID\_SIGNATURE, E\_PF\_INVALID\_SIGNATURE\_TIME, E\_PF\_INVALID\_XBOX\_LIVE\_TOKEN, E\_PF\_PLAYER\_SECRET\_NOT\_CONFIGURED, E\_PF\_XBOX\_INACCESSIBLE, E\_PF\_XBOX\_SERVICE\_TOO\_MANY\_REQUESTS, E\_PF\_XBOX\_XASS\_EXCHANGE\_FAILURE 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:** PFFriends.h

## Consulte también

[Miembros de PFFriends](/services/playfab/api-references/c/pffriends/pffriends_members)


## Related topics

- [PFFriendsServerGetFriendsListAsync](/es/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistasync.md)
- [Información general de la API de C de Services - PFFriends.h](/es/services/playfab/api-references/c/pffriends/pffriends_members.md)
- [PFFriendsServerGetFriendsListGetResult](/es/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistgetresult.md)
- [PFFriendsClientGetFriendsListGetResultSize](/es/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresultsize.md)
- [PFFriendsClientGetFriendsListGetResult](/es/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresult.md)
