XblAchievementsResultGetAchievements
Get a list of XblAchievement objects.
Syntax
HRESULT XblAchievementsResultGetAchievements(
XblAchievementsResultHandle resultHandle,
const XblAchievement** achievements,
size_t* achievementsCount
)
Parameters
resultHandle _In_
Type: XblAchievementsResultHandle
Achievement result handle.
achievements _Out_
Type: XblAchievement**
Pointer to an array of XblAchievement objects. The memory for the returned pointer will remain valid for the life of the XblAchievementsResultHandle object until it is closed.
achievementsCount _Out_
Type: size_t*
The count of objects in the returned array.
Return value
Type: HRESULT
HRESULT return code for this API operation.
Remarks
The returned array of XblAchievement objects is freed when all outstanding handles to the object have been closed with XblAchievementsResultCloseHandle.
Requirements
Header: achievements_c.h
Library: Microsoft.Xbox.Services.14x.GDK.C.lib