Skip to main content

XblAchievementUnlockAddNotificationHandler

Registers an event handler for achievement unlock notifications.

Syntax

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

See also

achievements_c
Last modified on August 20, 2026