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

> Obtém o tamanho em bytes necessário para armazenar o resultado de uma chamada ServerGetFriendsList.

Obtém o tamanho em bytes necessário para armazenar o resultado de uma chamada ServerGetFriendsList.

## Sintaxe

```cpp theme={null}
HRESULT PFFriendsServerGetFriendsListGetResultSize(  
    XAsyncBlock* async,  
    size_t* bufferSize  
)  
```

### Parâmetros

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

XAsyncBlock para a operação assíncrona.

**`bufferSize`**   size\_t\*<br />*output*

O tamanho do buffer em bytes necessário para o resultado.

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

## 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)
- [PFFriendsServerGetFriendsListGetResult](/pt-BR/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistgetresult.md)
- [PFFriendsClientGetFriendsListGetResultSize](/pt-BR/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresultsize.md)
- [PFFriendsClientGetFriendsListGetResult](/pt-BR/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresult.md)
