Skip to main content

XblTitleStorageGetQuotaAsync

获取指定服务配置和存储类型的标题存储配额信息。

语法

参数

xboxLiveContext   _In_
类型:XblContextHandle
使用 XblContextCreateHandle 创建的 XBOX Live 上下文句柄。 serviceConfigurationId   _In_z_
类型:char*
标题的服务配置 ID (SCID)。SCID 区分大小写,因此请直接从合作伙伴中心粘贴。 storageType   _In_
类型:XblTitleStorageType
要获取配额信息的存储类型。 async   _In_
类型:XAsyncBlock*
调用方分配的 AsyncBlock。

返回值

类型:HRESULT 此 API 操作的 HRESULT 返回代码。

备注

对于 TrustedPlatform 存储类型,将针对调用用户的 XBOX 用户 ID 发出请求。若要获取结果,请在 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
最后修改于 2026年8月24日