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

# XblUserStatisticsGetSingleUserStatisticsResult

> XblUserStatisticsGetSingleUserStatisticsResult

# XblUserStatisticsGetSingleUserStatisticsResult

Obtém o resultado de uma chamada XblUserStatisticsGetSingleUserStatisticsAsync.

## Sintaxe

```cpp theme={null}
HRESULT XblUserStatisticsGetSingleUserStatisticsResult(  
         XAsyncBlock* async,  
         size_t bufferSize,  
         void* buffer,  
         XblUserStatisticsResult** ptrToBuffer,  
         size_t* bufferUsed  
)  
```

### Parâmetros

*async*   \_In\_\
Tipo: XAsyncBlock\*

O AsyncBlock desta operação.

*bufferSize*   \_In\_\
Tipo: size\_t

O tamanho do buffer fornecido. Use [XblUserStatisticsGetSingleUserStatisticsResultSize](/pt-BR/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticsresultsize) para obter o tamanho necessário.

*buffer*   \_Out\_writes\_bytes\_to\_(bufferSize,*bufferUsed)\
Tipo: void*

Um buffer de bytes alocado pelo chamador que retorna as estatísticas de um único usuário.

*ptrToBuffer*   \_Outptr\_\
Tipo: [XblUserStatisticsResult\*\*](/pt-BR/reference/live/xsapi-c/user_statistics_c/structs/xbluserstatisticsresult)

Retorna um ponteiro fortemente tipado que aponta para o buffer. Não o libere, pois seu ciclo de vida está vinculado ao buffer.

*bufferUsed*   \_Out\_opt\_\
Tipo: size\_t\*

Retorna o número de bytes gravados no buffer.

### Valor retornado

Tipo: HRESULT

Código de retorno HRESULT desta operação de API.

## Requisitos

**Cabeçalho:** user\_statistics\_c.h

**Biblioteca:** Microsoft.Xbox.Services.14x.GDK.C.lib

## Confira também

[user\_statistics\_c](/pt-BR/reference/live/xsapi-c/user_statistics_c/user_statistics_c_members)


## Related topics

- [XblUserStatisticsGetSingleUserStatisticsResult](/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticsresult.md)
- [XblUserStatisticsResult](/reference/live/xsapi-c/user_statistics_c/structs/xbluserstatisticsresult.md)
