Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Registers an event handler for achievement unlock notifications.
Syntax
XblFunctionContext XblAchievementUnlockAddNotificationHandler(
XblContextHandle xblContextHandle,
XblAchievementUnlockHandler* handler,
void* handlerContext
)
Parameters
xblContextHandle _In_
Type: XblContextHandle
Xbox live context for the local user.
handler _In_
Type: XblAchievementUnlockHandler*
The callback function that receives notifications.
handlerContext _In_opt_
Type: void*
Caller context to be passed the handler.
Return value
Type: XblFunctionContext
An XblFunctionContext object that can be used to unregister the event handler.
Requirements
Header: achievements_c.h
Library: Microsoft.Xbox.Services.14x.GDK.C.lib