XblUserStatisticsAddStatisticChangedHandler
Registers an event handler for statistic change notifications. Event handlers receive a XblStatisticChangeEventArgs object.
Syntax
XblFunctionContext XblUserStatisticsAddStatisticChangedHandler(
XblContextHandle xblContextHandle,
XblStatisticChangedHandler handler,
void* handlerContext
)
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.141.GSDK.C.lib