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

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

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

## Syntaxe

```cpp theme={null}
HRESULT PFFriendsServerGetFriendsListGetResultSize(  
    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 de service échoue, le résultat sera 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 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 :** PFFriends.h

## Voir aussi

[Membres de PFFriends](/fr-CA/services/playfab/api-references/c/pffriends/pffriends_members)


## Related topics

- [PFFriendsServerGetFriendsListAsync](/fr-CA/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistasync.md)
- [Vue d'ensemble de l'API C Services - PFFriends.h](/fr-CA/services/playfab/api-references/c/pffriends/pffriends_members.md)
- [PFFriendsServerGetFriendsListGetResult](/fr-CA/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistgetresult.md)
- [PFFriendsClientGetFriendsListGetResultSize](/fr-CA/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresultsize.md)
- [PFFriendsClientGetFriendsListGetResult](/fr-CA/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresult.md)
