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

# XblStatisticChangedHandler

統計資料變更通知的事件處理常式。

## 語法

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

### 參數

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

包含已訂閱統計資料之變更的相關資訊。

*context*   \_In\_\
類型：void\*

將傳回給處理常式的呼叫端內容。

### 傳回值

類型：void

## 引數目標

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

## 需求

**標頭：** user\_statistics\_c.h

**程式庫：** Microsoft.Xbox.Services.14x.GDK.C.lib

## 另請參閱

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


## Related topics

- [XblUserStatisticsAddStatisticChangedHandler](https://docs.xbox.com/zh-TW/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsaddstatisticchangedhandler.md)
- [XblStatisticChangeEventArgs](https://docs.xbox.com/zh-TW/reference/live/xsapi-c/user_statistics_c/structs/xblstatisticchangeeventargs.md)
- [XblUserStatisticsTrackStatistics](https://docs.xbox.com/zh-TW/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticstrackstatistics.md)
- [user_statistics_c](https://docs.xbox.com/zh-TW/reference/live/xsapi-c/user_statistics_c/user_statistics_c_members.md)
- [XblUserStatisticsRemoveStatisticChangedHandler](https://docs.xbox.com/zh-TW/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsremovestatisticchangedhandler.md)
