共用方式為


XblAchievementUnlockHandler

Handle for Function handling achievement unlock events.

Syntax

void XblAchievementUnlockHandler(  
         const XblAchievementUnlockEvent* args,  
         void* context  
)  

Parameters

args   _In_
Type: XblAchievementUnlockEvent*

An achievement unlock event.

context   _In_opt_
Type: void*

Caller context to be passed the handler.

Return value

Type: void

Remarks

The lifetime of the XblAchievementUnlockEvent object is limited to the callback.

Requirements

Header: achievements_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

achievements_c