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

# PFFriendsClientGetFriendsListGetResult

> Obtient le résultat d'un appel PFFriendsClientGetFriendsListAsync réussi.

Obtient le résultat d'un appel PFFriendsClientGetFriendsListAsync réussi.

## Syntaxe

```cpp theme={null}
HRESULT PFFriendsClientGetFriendsListGetResult(  
    XAsyncBlock* async,  
    size_t bufferSize,  
    void* buffer,  
    PFFriendsGetFriendsListResult** result,  
    size_t* bufferUsed  
)  
```

### Paramètres

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

XAsyncBlock pour l'opération asynchrone.

**`bufferSize`**   size\_t

La taille de la mémoire tampon pour l'objet de résultat.

**`buffer`**   void\*<br />\**Out\_writes\_bytes\_to*(bufferSize,*bufferUsed)*

Mémoire tampon d'octets utilisée pour la valeur de résultat et ses champs.

**`result`**   [PFFriendsGetFriendsListResult\*\*](/fr-CA/services/playfab/api-references/c/pffriendstypes/structs/pffriendsgetfriendslistresult)<br />*library-allocated output*

Pointeur vers l'objet de résultat.

**`bufferUsed`**   size\_t\*<br />*optional output*

Le nombre d'octets utilisés dans la mémoire tampon fournie.

### 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\_XBOX\_LIVE\_TOKEN, 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.

## Notes

result est un pointeur à l'intérieur de buffer et n'a pas besoin d'être libéré séparément.

## Configuration requise

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

## Voir aussi

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


## Related topics

- [PFFriendsClientGetFriendsListAsync](/fr-CA/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistasync.md)
- [Vue d'ensemble de l'API C Services - PFFriends.h](/fr-CA/services/playfab/api-references/c/pffriends/pffriends_members.md)
- [PFFriendsClientGetFriendsListGetResultSize](/fr-CA/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresultsize.md)
- [PFFriendsClientGetFriendsListRequest](/fr-CA/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientgetfriendslistrequest.md)
- [PFFriendsGetFriendsListResult](/fr-CA/services/playfab/api-references/c/pffriendstypes/structs/pffriendsgetfriendslistresult.md)
