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

# PFLeaderboardsGetLeaderboardForEntitiesGetResultSize

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

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

## Sintaxe

```cpp theme={null}
HRESULT PFLeaderboardsGetLeaderboardForEntitiesGetResultSize(  
    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\_API\_NOT\_ENABLED\_FOR\_TITLE, E\_PF\_LEADERBOARD\_NOT\_FOUND, E\_PF\_NO\_LEADERBOARD\_FOR\_STATISTIC, E\_PF\_SPECIFIED\_VERSION\_LEADERBOARD\_NOT\_FOUND, E\_PF\_STATISTIC\_NOT\_FOUND 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

- [PFLeaderboardsGetLeaderboardForEntitiesAsync](/pt-BR/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetleaderboardforentitiesasync.md)
- [Visão geral da API C do Services - PFLeaderboards.h](/pt-BR/services/playfab/api-references/c/pfleaderboards/pfleaderboards_members.md)
- [PFLeaderboardsGetLeaderboardForEntitiesGetResult](/pt-BR/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetleaderboardforentitiesgetresult.md)
- [PFLeaderboardsGetFriendLeaderboardForEntityGetResultSize](/pt-BR/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetfriendleaderboardforentitygetresultsize.md)
- [PFLeaderboardsGetLeaderboardAroundEntityGetResultSize](/pt-BR/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetleaderboardaroundentitygetresultsize.md)
