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

XblUserStatisticsGetSingleUserStatisticAsync 호출에 대한 결과를 가져옵니다.

## Syntax

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

### Parameters

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

이 작업에 대한 AsyncBlock입니다.

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

제공된 버퍼의 크기입니다. 필요한 크기를 얻으려면 [XblUserStatisticsGetSingleUserStatisticResultSize](/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticresultsize)를 사용합니다.

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

단일 사용자 통계를 다시 전달하는 호출자가 할당한 바이트 버퍼입니다.

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

buffer를 가리키는 강력한 형식의 포인터를 다시 전달합니다. 수명 주기가 buffer에 연결되어 있으므로 이 항목을 해제하지 마세요.

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

버퍼에 기록된 바이트 수를 다시 전달합니다.

### Return value

Type: HRESULT

이 API 작업에 대한 HRESULT 반환 코드입니다.

## Requirements

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

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

## See also

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


## Related topics

- [XblUserStatisticsResult](/ko/reference/live/xsapi-c/user_statistics_c/structs/xbluserstatisticsresult.md)
- [XblUserStatisticsGetSingleUserStatisticAsync](/ko/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticasync.md)
- [이벤트 기반 통계 가져오기](/ko/services/xbox-services/player-data/stats-leaderboards/event-based/how-to/live-getting-eb-stat.md)
- [XblUserStatisticsGetSingleUserStatisticResultSize](/ko/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticresultsize.md)
- [XblUserStatisticsGetSingleUserStatisticsResult](/ko/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticsresult.md)
