Partager via


XblAchievementsManagerAddLocalUser

Generate a local cache of achievements for a user.

Syntax

HRESULT XblAchievementsManagerAddLocalUser(  
         XblUserHandle user,  
         XTaskQueueHandle queue  
)  

Parameters

user   _In_
Type: XblUserHandle

Xbox Live User to fetch achievements for.

queue   _In_opt_
Type: XTaskQueueHandle

Queue to be used for background operation for this user (Optional).

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: achievements_manager_c.h

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

See also

achievements_manager_c