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

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

## Syntaxe

```cpp theme={null}
HRESULT XblUserStatisticsGetSingleUserStatisticsResult(  
         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 [XblUserStatisticsGetSingleUserStatisticsResultSize](/fr-CA/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticsresultsize) 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 les statistiques 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

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