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

# XblUserStatisticsRemoveStatisticChangedHandler

> XblUserStatisticsRemoveStatisticChangedHandler

Unregisters an event handler for statistic change notifications.

## Syntax

```cpp theme={null}
void XblUserStatisticsRemoveStatisticChangedHandler(  
         XblContextHandle xblContextHandle,  
         XblFunctionContext context  
)  
```

### Parameters

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

XBOX services context for the local user.

*context*   \_In\_\
Type: XblFunctionContext

The function\_context object that was returned when the event handler was registered.

### Return value

Type: void

## Requirements

**Header:** user\_statistics\_c.h

**Library:** Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.lib

## See also

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


## Related topics

- [XblUserStatisticsAddStatisticChangedHandler](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsaddstatisticchangedhandler.md)
- [XblUserStatisticsStopTrackingStatistics](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsstoptrackingstatistics.md)
- [XblUserStatisticsStopTrackingUsers](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsstoptrackingusers.md)
- [Programming the RTA service](https://docs.xbox.com/services/xbox-services/fundamentals/rta/how-to/live-programming-rta.md)
- [Handle an event-based stat change](https://docs.xbox.com/services/xbox-services/player-data/stats-leaderboards/event-based/how-to/live-handling-eb-stat-change.md)
