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

# XblUserStatisticsGetMultipleUserStatisticsResult

> XblUserStatisticsGetMultipleUserStatisticsResult

# XblUserStatisticsGetMultipleUserStatisticsResult

Obtient le résultat d'un appel à XblUserStatisticsGetMultipleUserStatisticsAsync.

## Syntaxe

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

### Paramètres

*async*   \_In\_\
Type : XAsyncBlock\*

AsyncBlock de cette opération.

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

Taille de la mémoire tampon fournie. Utilisez [XblUserStatisticsGetMultipleUserStatisticsResultSize](https://docs.xbox.com/fr/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetmultipleuserstatisticsresultsize.md) pour obtenir la taille requise.

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

Mémoire tampon d'octets allouée par l'appelant qui renvoie les statistiques des différents utilisateurs.

*ptrToBuffer*   \_Outptr\_\
Type : [XblUserStatisticsResult\*\*](https://docs.xbox.com/fr/reference/live/xsapi-c/user_statistics_c/structs/xbluserstatisticsresult.md)

Renvoie un pointeur fortement typé qui pointe dans buffer. Ne le libérez pas, car sa durée de vie est liée à buffer.

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

Renvoie le nombre de résultats de statistiques utilisateur.

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

Renvoie le nombre d'octets écrits dans la mémoire tampon.

### Valeur de retour

Type : HRESULT

Code de retour HRESULT pour cette opération d'API.

## Configuration requise

**En-tête :** user\_statistics\_c.h

**Bibliothèque :** Microsoft.Xbox.Services.14x.GDK.C.lib

## Voir aussi

[user\_statistics\_c](https://docs.xbox.com/fr/reference/live/xsapi-c/user_statistics_c/user_statistics_c_members.md)


## Related topics

- [XblUserStatisticsResult](https://docs.xbox.com/fr/reference/live/xsapi-c/user_statistics_c/structs/xbluserstatisticsresult.md)
- [XblUserStatisticsGetMultipleUserStatisticsAsync](https://docs.xbox.com/fr/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetmultipleuserstatisticsasync.md)
- [user_statistics_c](https://docs.xbox.com/fr/reference/live/xsapi-c/user_statistics_c/user_statistics_c_members.md)
- [Obtenir les statistiques basées sur les événements](https://docs.xbox.com/fr/services/xbox-services/player-data/stats-leaderboards/event-based/how-to/live-getting-eb-stat.md)
- [XblUserStatisticsGetMultipleUserStatisticsResultSize](https://docs.xbox.com/fr/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetmultipleuserstatisticsresultsize.md)
