Skip to main content

XStoreGetUserCollectionsIdResultSize

获取 XStoreGetUserCollectionsIdResult 返回的 ID 的大小。

语法

参数

async   _In_
类型:XAsyncBlock*
传递给 XStoreGetUserCollectionsIdAsync 的 XAsyncBlock。可使用 XAsyncBlock 轮询调用状态并检索调用结果。有关详细信息,请参阅 XAsyncBlock size   _Out_
类型:size_t*
成功时包含 XStoreGetUserCollectionsIdResult 返回的 ID 的大小。

返回值

类型:HRESULT HRESULT 成功或错误代码。

备注

此结果函数使你能够检索调用 XStoreGetUserCollectionsIdResult 时集合 ID 的大小。因此,此函数应在调用 XStoreGetUserCollectionsIdResult 之后调用,通常在回调函数的上下文中。有关用法示例,请参阅 XStoreGetUserCollectionsIdAsync

要求

头文件: XStore.h(包含于 XGameRuntime.h 中) 库: xgameruntime.lib 支持的平台: Windows、XBOX One 系列主机和 XBOX Series 主机

另请参阅

XStore
XStoreGetUserCollectionsIdAsync
XStoreGetUserCollectionsIdResult
最后修改于 2026年8月24日