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

# XblUserStatisticsGetSingleUserStatisticResult

> XblUserStatisticsGetSingleUserStatisticResult

# XblUserStatisticsGetSingleUserStatisticResult

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

## Syntaxe

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

### Paramètres

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

AsyncBlock pour cette opération.

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

Taille de la mémoire tampon fournie. Utilisez [XblUserStatisticsGetSingleUserStatisticResultSize](/fr-CA/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticresultsize) 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 retourne la statistique d'un seul utilisateur.

*ptrToBuffer*   \_Outptr\_\
Type : [XblUserStatisticsResult\*\*](/fr-CA/reference/live/xsapi-c/user_statistics_c/structs/xbluserstatisticsresult)

Retourne un pointeur fortement typé qui pointe dans la mémoire tampon. Ne le libérez pas, car son cycle de vie est lié à la mémoire tampon.

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

Retourne 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](/fr-CA/reference/live/xsapi-c/user_statistics_c/user_statistics_c_members)


## Related topics

- [XblUserStatisticsGetSingleUserStatisticResult](/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticresult.md)
- [XblUserStatisticsGetSingleUserStatisticAsync](/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticasync.md)
- [XblUserStatisticsResult](/reference/live/xsapi-c/user_statistics_c/structs/xbluserstatisticsresult.md)
- [Getting event-based stats](/services/xbox-services/player-data/stats-leaderboards/event-based/how-to/live-getting-eb-stat.md)
- [Obtención de estadísticas basadas en eventos](/es/services/xbox-services/player-data/stats-leaderboards/event-based/how-to/live-getting-eb-stat.md)
