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

# XblUserStatisticsGetMultipleUserStatisticsResult

> XblUserStatisticsGetMultipleUserStatisticsResult

# XblUserStatisticsGetMultipleUserStatisticsResult

Obtém o resultado de uma chamada XblUserStatisticsGetMultipleUserStatisticsAsync.

## Sintaxe

```cpp theme={null}
HRESULT XblUserStatisticsGetMultipleUserStatisticsResult(  
         XAsyncBlock* async,  
         size_t bufferSize,  
         void* buffer,  
         XblUserStatisticsResult** ptrToBuffer,  
         size_t* resultsCount,  
         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 [XblUserStatisticsGetMultipleUserStatisticsResultSize](/pt-BR/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetmultipleuserstatisticsresultsize) 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 vários usuários.

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

*resultsCount*   \_Out\_\
Tipo: size\_t\*

Retorna o número de resultados de estatísticas de usuário.

*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

- [XblUserStatisticsGetMultipleUserStatisticsResult](/ko/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetmultipleuserstatisticsresult.md)
- [XblUserStatisticsResult](/reference/live/xsapi-c/user_statistics_c/structs/xbluserstatisticsresult.md)
