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

# XblUserStatisticsGetMultipleUserStatisticsForMultipleServiceConfigurationsResult

> XblUserStatisticsGetMultipleUserStatisticsForMultipleServiceConfigurationsResult

# XblUserStatisticsGetMultipleUserStatisticsForMultipleServiceConfigurationsResult

获取 XblUserStatisticsGetMultipleUserStatisticsForMultipleServiceConfigurationsAsync 调用的结果。

## 语法

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

### 参数

*async*   \_In\_\
类型：XAsyncBlock\*

此操作的 AsyncBlock。

*bufferSize*   \_In\_\
类型：size\_t

所提供缓冲区的大小。使用 [XblUserStatisticsGetMultipleUserStatisticsForMultipleServiceConfigurationsResultSize](/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetmultipleuserstatisticsformultipleserviceconfigurationsresultsize) 获取所需的大小。

*buffer*   \_Out\_writes\_bytes\_to\_(bufferSize,*bufferUsed)\
类型：void*

调用方分配的字节缓冲区，用于回传多个用户的统计信息。

*ptrToBufferResults*   \_Outptr\_\
类型：[XblUserStatisticsResult\*\*](/reference/live/xsapi-c/user_statistics_c/structs/xbluserstatisticsresult)

回传指向 buffer 内部的强类型 XblUserStatisticsResult 数组。不要释放此内存，因为其生命周期与 buffer 关联。

*resultsCount*   \_Out\_\
类型：size\_t\*

回传结果的数量。

*bufferUsed*   \_Out\_opt\_\
类型：size\_t\*

回传写入缓冲区的字节数。

### 返回值

类型：HRESULT

此 API 操作的 HRESULT 返回代码。

## 要求

**头文件：** user\_statistics\_c.h

**库：** Microsoft.Xbox.Services.14x.GDK.C.lib

## 另请参阅

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


## Related topics

- [XblUserStatisticsGetMultipleUserStatisticsForMultipleServiceConfigurationsResultSize](/zh-CN/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetmultipleuserstatisticsformultipleserviceconfigurationsresultsize.md)
- [XblUserStatisticsGetMultipleUserStatisticsForMultipleServiceConfigurationsAsync](/zh-CN/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetmultipleuserstatisticsformultipleserviceconfigurationsasync.md)
- [XblUserStatisticsResult](/zh-CN/reference/live/xsapi-c/user_statistics_c/structs/xbluserstatisticsresult.md)
- [获取基于事件的统计信息](/zh-CN/services/xbox-services/player-data/stats-leaderboards/event-based/how-to/live-getting-eb-stat.md)
- [XblUserStatisticsGetMultipleUserStatisticsResult](/zh-CN/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetmultipleuserstatisticsresult.md)
