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

# XblStatisticChangedHandler

> XblStatisticChangedHandler

Event handler for statistic change notifications.

## Syntax

```cpp theme={null}
void XblStatisticChangedHandler(  
         XblStatisticChangeEventArgs statisticChangeEventArgs,  
         void* context  
)  
```

### Parameters

*statisticChangeEventArgs*   \_In\_\
Type: [XblStatisticChangeEventArgs](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/structs/xblstatisticchangeeventargs.md)

Contains information about a change to a subscribed statistic.

*context*   \_In\_\
Type: void\*

Caller context that will be passed back to the handler.

### Return value

Type: void

## Argument of

[XblUserStatisticsAddStatisticChangedHandler](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsaddstatisticchangedhandler.md)

## 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)
- [XblUserStatisticsTrackStatistics](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticstrackstatistics.md)
- [XblStatisticChangeEventArgs](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/structs/xblstatisticchangeeventargs.md)
- [user_statistics_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/user_statistics_c_members.md)
- [XblUserStatisticsRemoveStatisticChangedHandler](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsremovestatisticchangedhandler.md)
