Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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.14x.GDK.C.lib