> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFStatisticsGetStatisticsGetResultSize

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

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

## Sintaxe

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

### Parâmetros

**`async`**   XAsyncBlock\*\
*Inout*

XAsyncBlock para a operação assíncrona.

**`bufferSize`**   size\_t\*\
*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\_GAME\_CLIENT\_ACCESS, E\_PF\_INVALID\_ENTITY\_TYPE, E\_PF\_NOT\_AUTHORIZED, 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:** PFStatistics.h

## Confira também

[Membros de PFStatistics](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)


## Related topics

- [PFStatisticsGetStatisticsAsync](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsasync.md)
- [Visão geral da API C do Services - PFStatistics.h](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)
- [PFStatisticsGetStatisticsGetResult](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsgetresult.md)
- [PFStatisticsGetStatisticsForEntitiesGetResultSize](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsforentitiesgetresultsize.md)
- [PFStatisticsGetStatisticDefinitionGetResultSize](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticdefinitiongetresultsize.md)
