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

# PFFriendsServerGetFriendsListGetResult

> Obtém o resultado de uma chamada PFFriendsServerGetFriendsListAsync bem-sucedida.

Obtém o resultado de uma chamada PFFriendsServerGetFriendsListAsync bem-sucedida.

## Sintaxe

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

### Parâmetros

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

XAsyncBlock para a operação assíncrona.

**`bufferSize`**   size\_t

O tamanho do buffer para o objeto de resultado.

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

Buffer de bytes usado para o valor do resultado e seus campos.

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

Ponteiro para o objeto de resultado.

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

O número de bytes usados no buffer fornecido.

### Valor de retorno

Tipo: HRESULT

Código de resultado desta operação de API. Se a chamada de serviço não for bem-sucedida, o 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 ou qualquer um dos erros globais do Serviço PlayFab. Consulte a página de documentação "Handling PlayFab Errors" para obter mais detalhes sobre o tratamento de erros.

## Comentários

result é um ponteiro dentro de buffer e não precisa ser liberado separadamente.

## Requisitos

**Cabeçalho:** PFFriends.h

## Confira também

[Membros de PFFriends](/pt-BR/services/playfab/api-references/c/pffriends/pffriends_members)


## Related topics

- [PFFriendsServerGetFriendsListAsync](/pt-BR/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistasync.md)
- [Visão geral da API C do Services - PFFriends.h](/pt-BR/services/playfab/api-references/c/pffriends/pffriends_members.md)
- [PFFriendsServerGetFriendsListGetResultSize](/pt-BR/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistgetresultsize.md)
- [Get Friends List](/api-reference/friend-list-management/get-friends-list.md)
- [PFFriendsServerGetFriendsListRequest](/pt-BR/services/playfab/api-references/c/pffriendstypes/structs/pffriendsservergetfriendslistrequest.md)
