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

# XblUserStatisticsAddStatisticChangedHandler

> XblUserStatisticsAddStatisticChangedHandler

# XblUserStatisticsAddStatisticChangedHandler

통계 변경 알림에 대한 이벤트 처리기를 등록합니다. 이벤트 처리기는 XblStatisticChangeEventArgs 개체를 받습니다.

## Syntax

```cpp theme={null}
XblFunctionContext XblUserStatisticsAddStatisticChangedHandler(  
         XblContextHandle xblContextHandle,  
         XblStatisticChangedHandler handler,  
         void* handlerContext  
)  
```

### Parameters

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

로컬 사용자에 대한 XBOX live 컨텍스트입니다.

*handler*   \_In\_\
Type: XblStatisticChangedHandler

알림을 수신하는 콜백 함수입니다.

*handlerContext*   \_In\_opt\_\
Type: void\*

처리기로 다시 전달되는 클라이언트 컨텍스트 포인터입니다.

### Return value

Type: XblFunctionContext

이벤트 처리기 등록을 해제하는 데 사용할 수 있는 XblFunctionContext 개체입니다.

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

- [XblStatisticChangedHandler](/ko/reference/live/xsapi-c/user_statistics_c/functions/xblstatisticchangedhandler.md)
- [RTA 서비스 프로그래밍](/ko/services/xbox-services/fundamentals/rta/how-to/live-programming-rta.md)
- [이벤트 기반 통계 변경 처리](/ko/services/xbox-services/player-data/stats-leaderboards/event-based/how-to/live-handling-eb-stat-change.md)
- [XblUserStatisticsRemoveStatisticChangedHandler](/ko/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsremovestatisticchangedhandler.md)
- [XblUserStatisticsTrackStatistics](/ko/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticstrackstatistics.md)
