Skip to main content

XblTitleStorageGetQuotaAsync

取得指定服務設定和儲存體類型的遊戲儲存體配額資訊。

語法

參數

xboxLiveContext   _In_
類型:XblContextHandle
使用 XblContextCreateHandle 建立的 XBOX Live 內容控制代碼。 serviceConfigurationId   _In_z_
類型:char*
遊戲的服務設定識別碼 (SCID)。SCID 會區分大小寫,因此請直接從 Partner Center 貼上。 storageType   _In_
類型:XblTitleStorageType
要取得配額資訊的儲存體類型。 async   _In_
類型:XAsyncBlock*
呼叫端配置的 AsyncBlock。

傳回值

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

備註

對於 TrustedPlatform 儲存體類型,要求會針對呼叫使用者的 XBOX 使用者識別碼發出。若要取得結果,請在 AsyncBlock 回呼內或 AsyncBlock 完成之後呼叫 XblTitleStorageGetQuotaResult。

REST 呼叫

V1 GET trustedplatform/users/xuid()/scids/
V1 GET trustedplatform/users/xuid()/scids/
V1 GET json/users/xuid()/scids/
V1 GET global/scids/

需求

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

另請參閱

title_storage_c
Last modified on October 6, 2026