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

# XblUserStatisticsStopTrackingStatistics

> XblUserStatisticsStopTrackingStatistics

# XblUserStatisticsStopTrackingStatistics

配置将实时跟踪的统计信息集。将不再接收所提供统计信息和用户的更新。

## 语法

```cpp theme={null}
HRESULT XblUserStatisticsStopTrackingStatistics(  
         XblContextHandle xblContextHandle,  
         const uint64_t* xboxUserIds,  
         size_t xboxUserIdsCount,  
         const char* serviceConfigurationId,  
         const char** statisticNames,  
         size_t statisticNamesCount  
)  
```

### 参数

*xblContextHandle*   \_In\_\
类型：[XblContextHandle](/reference/live/xsapi-c/types_c/handles/xblcontexthandle)

本地用户的 XBOX Live 上下文。

*xboxUserIds*   \_In\_\
类型：uint64\_t\*

要停止跟踪所提供统计信息的 XboxUserID 数组。

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

xboxUserIds 数组的长度。

*serviceConfigurationId*   \_In\_z\_\
类型：char\*

标题的服务配置 ID (SCID)。SCID 区分大小写，因此请直接从合作伙伴中心粘贴。

*statisticNames*   \_In\_\
类型：char\*\*

不再需要实时更新的统计信息名称数组。

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

statisticNames 数组的长度。

### 返回值

类型：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

- [XblUserStatisticsStopTrackingUsers](/zh-CN/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsstoptrackingusers.md)
- [XblPresenceStopTrackingUsers](/zh-CN/reference/live/xsapi-c/presence_c/functions/xblpresencestoptrackingusers.md)
- [XblUserStatisticsTrackStatistics](/zh-CN/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticstrackstatistics.md)
- [XblUserStatisticsResult](/zh-CN/reference/live/xsapi-c/user_statistics_c/structs/xbluserstatisticsresult.md)
- [XblUserStatisticsGetMultipleUserStatisticsResult](/zh-CN/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetmultipleuserstatisticsresult.md)
