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

# PFLeaderboardsGetFriendLeaderboardForEntityGetResultSize

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

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

## Sintaxe

```cpp theme={null}
HRESULT PFLeaderboardsGetFriendLeaderboardForEntityGetResultSize(  
    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\_API\_NOT\_ENABLED\_FOR\_TITLE, E\_PF\_DOWNSTREAM\_SERVICE\_UNAVAILABLE, E\_PF\_EXPIRED\_XBOX\_LIVE\_TOKEN, E\_PF\_FACEBOOK\_API\_ERROR, E\_PF\_INVALID\_ENTITY\_TYPE, E\_PF\_INVALID\_SIGNATURE, E\_PF\_INVALID\_SIGNATURE\_TIME, E\_PF\_INVALID\_XBOX\_LIVE\_TOKEN, E\_PF\_LEADERBOARD\_NOT\_FOUND, E\_PF\_NO\_LEADERBOARD\_FOR\_STATISTIC, E\_PF\_PLAYER\_SECRET\_NOT\_CONFIGURED, E\_PF\_SPECIFIED\_VERSION\_LEADERBOARD\_NOT\_FOUND, E\_PF\_STATISTIC\_NOT\_FOUND, 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:** PFLeaderboards.h

## Confira também

[Membros de PFLeaderboards](/services/playfab/api-references/c/pfleaderboards/pfleaderboards_members)


## Related topics

- [PFLeaderboardsGetFriendLeaderboardForEntityAsync](/pt-BR/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetfriendleaderboardforentityasync.md)
- [Visão geral da API C do Services - PFLeaderboards.h](/pt-BR/services/playfab/api-references/c/pfleaderboards/pfleaderboards_members.md)
- [PFLeaderboardsGetFriendLeaderboardForEntityGetResult](/pt-BR/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetfriendleaderboardforentitygetresult.md)
- [PFLeaderboardsGetFriendLeaderboardForEntityRequest](/pt-BR/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsgetfriendleaderboardforentityrequest.md)
- [PFLeaderboardsGetLeaderboardForEntitiesGetResultSize](/pt-BR/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetleaderboardforentitiesgetresultsize.md)
