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

# XblUserStatisticsStopTrackingUsers

> XblUserStatisticsStopTrackingUsers

# XblUserStatisticsStopTrackingUsers

設定要即時追蹤的統計資料集合。此 API 會取消所提供使用者的所有即時統計資料更新。

## 語法

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

### 參數

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

本機使用者的 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](/zh-TW/reference/live/xsapi-c/user_statistics_c/user_statistics_c_members)


## Related topics

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