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

Configures the set of stats that will be tracked real-time. The API will cancel all real-time stat updates for the provided users.

## Syntax

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

### Parameters

*xblContextHandle*   \_In\_\
Type: [XblContextHandle](/reference/live/xsapi-c/types_c/handles/xblcontexthandle)

XBOX live context for the local user.

*xboxUserIds*   \_In\_\
Type: uint64\_t\*

Array of XboxUserIDs for whom to stop tracking the all stats.

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

Length of xboxUserIds array.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

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

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