Skip to main content

XblUserStatisticsAddStatisticChangedHandler

Registers an event handler for statistic change notifications. Event handlers receive a XblStatisticChangeEventArgs object.

Syntax

Parameters

xblContextHandle   _In_
Type: XblContextHandle
XBOX live context for the local user. handler   _In_
Type: XblStatisticChangedHandler
The callback function that receives notifications. handlerContext   _In_opt_
Type: void*
Client context pointer to be passed back to the handler.

Return value

Type: XblFunctionContext A XblFunctionContext object that can be used to unregister the event handler.

Requirements

Header: user_statistics_c.h Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

user_statistics_c
Last modified on August 20, 2026