Skip to main content

XblProfileGetUserProfileAsync

Obtient le profil utilisateur d’un utilisateur XBOX précis.

Syntaxe

Paramètres

xboxLiveContext   _In_
Type : XblContextHandle
Handle de contexte XBOX Live créé avec XblContextCreateHandle. xboxUserId   _In_
Type : uint64_t
ID d’utilisateur XBOX de l’utilisateur dont il faut obtenir le profil. async   _In_
Type : XAsyncBlock*
AsyncBlock alloué par l’appelant.

Valeur de retour

Type : HRESULT Code de retour HRESULT de cette opération d’API.

Remarques

Pour obtenir le résultat, appelez XblProfileGetUserProfileResult dans le rappel AsyncBlock ou une fois l’AsyncBlock terminé.

Appel REST

Appelle V2 GET /users/batch/profile/settings

Configuration requise

En-tête : profile_c.h Bibliothèque : Microsoft.Xbox.Services.14x.GDK.C.lib

Voir aussi

profile_c
Last modified on October 6, 2026