> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblUserStatisticsStopTrackingUsers

> XblUserStatisticsStopTrackingUsers

# XblUserStatisticsStopTrackingUsers

配置将实时跟踪的统计信息集。此 API 将取消所提供用户的所有实时统计信息更新。

## 语法

```cpp theme={null}
HRESULT XblUserStatisticsStopTrackingUsers(  
         XblContextHandle xblContextHandle,  
         const uint64_t* xboxUserIds,  
         size_t xboxUserIdsCount  
)  
```

### 参数

*xblContextHandle*   \_In\_\
类型：[XblContextHandle](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/types_c/handles/xblcontexthandle.md)

本地用户的 XBOX Live 上下文。

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

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

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

xboxUserIds 数组的长度。

### 返回值

类型：HRESULT

此 API 操作的 HRESULT 返回代码。

## 要求

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

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

## 另请参阅

[user\_statistics\_c](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/user_statistics_c/user_statistics_c_members.md)


## Related topics

- [user_statistics_c](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/user_statistics_c/user_statistics_c_members.md)
- [XblUserStatisticsStopTrackingStatistics](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsstoptrackingstatistics.md)
- [XblPresenceStopTrackingUsers](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/presence_c/functions/xblpresencestoptrackingusers.md)
- [XblUserStatisticsTrackStatistics](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticstrackstatistics.md)
- [XblUserStatisticsResult](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/user_statistics_c/structs/xbluserstatisticsresult.md)
