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

Obtiene el resultado de una llamada a XblUserStatisticsGetSingleUserStatisticsAsync.

## Sintaxis

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

### Parámetros

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

El AsyncBlock para esta operación.

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

El tamaño del búfer proporcionado. Use [XblUserStatisticsGetSingleUserStatisticsResultSize](/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticsresultsize) para obtener el tamaño necesario.

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

Un búfer de bytes asignado por el autor de la llamada que devuelve las estadísticas del usuario único.

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

Devuelve un puntero fuertemente tipado que apunta al búfer. No lo libere, ya que su ciclo de vida está vinculado al búfer.

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

Devuelve el número de bytes escritos en el búfer.

### Valor devuelto

Tipo: HRESULT

Código de retorno HRESULT para esta operación de API.

## Requisitos

**Encabezado:** user\_statistics\_c.h

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

## Consulte también

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


## Related topics

- [XblUserStatisticsResult](/es/reference/live/xsapi-c/user_statistics_c/structs/xbluserstatisticsresult.md)
- [XblUserStatisticsGetSingleUserStatisticsAsync](/es/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticsasync.md)
- [XblUserStatisticsGetSingleUserStatisticsResultSize](/es/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticsresultsize.md)
- [XblUserStatisticsGetSingleUserStatisticResult](/es/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticresult.md)
- [XblUserStatisticsGetSingleUserStatisticResultSize](/es/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticresultsize.md)
