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

# PFStatisticsUpdateStatisticsGetResult

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

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

## Sintaxe

```cpp theme={null}
HRESULT PFStatisticsUpdateStatisticsGetResult(  
    XAsyncBlock* async,  
    size_t bufferSize,  
    void* buffer,  
    PFStatisticsUpdateStatisticsResponse** 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`**   [PFStatisticsUpdateStatisticsResponse\*\*](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsupdatestatisticsresponse)<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\_API\_NOT\_ENABLED\_FOR\_GAME\_CLIENT\_ACCESS, E\_PF\_ENTITY\_TYPE\_MISMATCH\_WITH\_STAT\_DEFINITION, E\_PF\_INVALID\_ENTITY\_TYPE, E\_PF\_INVALID\_EXTERNAL\_ENTITY\_ID, E\_PF\_INVALID\_STATISTIC\_SCORE, E\_PF\_METADATA\_LENGTH\_EXCEEDED, E\_PF\_NOT\_AUTHORIZED, E\_PF\_STATISTIC\_COLUMN\_LENGTH\_MISMATCH, E\_PF\_STATISTIC\_NOT\_FOUND, E\_PF\_TRANSACTION\_ALREADY\_APPLIED, E\_PF\_UPDATING\_STATISTICS\_USING\_TRANSACTION\_ID\_NOT\_AVAILABLE\_FOR\_FREE\_TIER 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:** PFStatistics.h

## Confira também

[Membros de PFStatistics](/services/playfab/api-references/c/pfstatistics/pfstatistics_members)


## Related topics

- [PFStatisticsUpdateStatisticsAsync](/pt-BR/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsupdatestatisticsasync.md)
- [Visão geral da API C do Services - PFStatistics.h](/pt-BR/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)
- [PFStatisticsUpdateStatisticsGetResultSize](/pt-BR/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsupdatestatisticsgetresultsize.md)
- [PFStatisticsIncrementStatisticVersionGetResult](/pt-BR/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsincrementstatisticversiongetresult.md)
- [PFStatisticsGetStatisticsGetResult](/pt-BR/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsgetresult.md)
