共用方式為


XblAchievementsProgressChangeHandler

A callback invoked when a progress is made on an achievement.

Syntax

void XblAchievementsProgressChangeHandler(  
         const XblAchievementProgressChangeEventArgs* eventArgs,  
         void* context  
)  

Parameters

eventArgs   _In_
Type: XblAchievementProgressChangeEventArgs*

The arguments associated with the change in achievement state. The fields of the struct are only valid during the callback.

context   _In_opt_
Type: void*

Context provided by when the handler is added.

Return value

Type: void

Remarks

For the callback to work properly, you must be subscribed to achievement progress changes for at least one user.

Requirements

Header: achievements_c.h

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

See also

achievements_c