XblTitleStorageGetBlobMetadataAsync
获取指定服务配置、存储类型和存储 ID 下给定路径中的 Blob 元数据对象列表。语法
参数
xboxLiveContext _In_类型:XblContextHandle 使用 XblContextCreateHandle 创建的 XBOX Live 上下文句柄。 serviceConfigurationId _In_z_
类型:char* 标题的服务配置 ID (SCID)。SCID 区分大小写,因此请直接从合作伙伴中心粘贴。 storageType _In_
类型:XblTitleStorageType 要获取 Blob 元数据对象的存储类型。 blobPath _In_z_
类型:char* 要枚举的根路径。结果将针对此路径及其所有子路径中包含的 Blob。(可选) xboxUserId _In_
类型:uint64_t 要枚举的标题存储的 XBOX 用户 ID。枚举 GlobalStorage 时会被忽略,因此传递 0 是可接受的。(可选) skipItems _In_
类型:uint32_t 返回结果之前要跳过的项数。(可选) maxItems _In_
类型:uint32_t 要返回的最大项数。传递 0 以尝试检索所有项。(可选) async _In_
类型:XAsyncBlock* 调用方分配的 AsyncBlock。
返回值
类型:HRESULT 此 API 操作的 HRESULT 返回代码。备注
若要获取结果,请在 AsyncBlock 回调内部或 AsyncBlock 完成后调用 XblTitleStorageGetBlobMetadataResult。REST 调用
V1 GET trustedplatform/users/xuid()/scids//data/?maxItems=[skipItems=]V1 GET json/users/xuid()/scids//data/?maxItems=[skipItems=]
V1 GET global/scids//data/?maxItems=[skipItems=]
