Partager via


XblAchievementsResultGetNextAsync

Gets the result of next page of achievements for a player of the specified title.

Syntax

HRESULT XblAchievementsResultGetNextAsync(  
         XblAchievementsResultHandle resultHandle,  
         uint32_t maxItems,  
         XAsyncBlock* async  
)  

Parameters

resultHandle   _In_
Type: XblAchievementsResultHandle

Handle to the achievement result.

maxItems   _In_
Type: uint32_t

The maximum number of items that the result can contain. Pass 0 to attempt to retrieve all items.

async   _In_
Type: XAsyncBlock*

Caller allocated AsyncBlock.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

To get the result, call XblAchievementsResultGetNextResult inside the AsyncBlock callback or after the AsyncBlock is complete.

REST Call

V2 GET /users/xuid({xuid})/achievements

Requirements

Header: achievements_c.h

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

See also

achievements_c