共用方式為


XblAchievementsGetAchievementResult

Get the result handle from an XblAchievementsGetAchievementAsync call.

Syntax

HRESULT XblAchievementsGetAchievementResult(  
         XAsyncBlock* async,  
         XblAchievementsResultHandle* result  
)  

Parameters

async   _In_
Type: XAsyncBlock*

The same AsyncBlock that passed to XblAchievementsGetAchievementAsync.

result   _Out_
Type: XblAchievementsResultHandle*

The achievement result handle. This handle is used by other APIs to get the achievement objects and to get the next page of achievements from the service if there is one. The handle must be closed using XblAchievementsResultCloseHandle when the result is no longer needed.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: achievements_c.h

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

See also

achievements_c