跳轉到主要內容

XblProfileGetUserProfilesForSocialGroupAsync

取得指定社交群組中使用者的設定檔。

語法

參數

xboxLiveContext   _In_
類型:XblContextHandle
使用 XblContextCreateHandle 建立的 Xbox Live 內容控制代碼。 socialGroup   _In_z_
類型:char*
要搜尋之使用者社交群組的 UTF-8 編碼名稱。選項為 “Favorites” 和 “People”。 async   _In_
類型:XAsyncBlock*
呼叫端配置的 AsyncBlock。

傳回值

類型:HRESULT 此 API 作業的 HRESULT 傳回碼。

備註

若要取得結果,請在 AsyncBlock 回呼內或在 AsyncBlock 完成後,先呼叫 XblProfileGetUserProfilesForSocialGroupResultCount 以取得傳回的設定檔數目,然後再呼叫 XblProfileGetUserProfilesForSocialGroupResult。

REST 呼叫

呼叫 V2 GET /users//profile/settings/people/

需求

標頭: profile_c.h 程式庫: Microsoft.Xbox.Services.14x.GDK.C.lib

另請參閱

profile_c
最後修改於 2026年10月6日