XStoreQueryAssociatedProductsResult
获取对 XStoreQueryAssociatedProductsAsync 调用的结果。语法
参数
async _Inout_类型:XAsyncBlock* 传递给 XStoreQueryAssociatedProductsAsync 的
XAsyncBlock。
使用 XAsyncBlock 检查调用状态并获取结果。
有关详细信息,请参阅 XAsyncBlock。
productQueryHandle _Out_类型:XStoreProductQueryHandle* 返回时,包含表示查询的 XStoreProductQueryHandle。 将返回的 XStoreProductQueryHandle 传递给 XStoreEnumerateProductsQuery 以列出查询返回的产品。
返回值
类型:HRESULT 成功时返回 S_OK;否则返回错误代码。备注
此结果函数检索 XStoreQueryAssociatedProductsAsync 的执行结果。如果执行成功,它将返回一个关联产品列表。 通常在回调函数的上下文中,于 XStoreQueryAssociatedProductsAsync 之后调用此函数。 有关用法示例,请参阅 XStoreQueryAssociatedProductsAsync。要求
头文件: XStore.h(包含于 XGameRuntime.h 中) 库: xgameruntime.lib 支持的平台: Windows、XBOX One 系列主机和 XBOX Series 主机概念文档
另请参阅
XStore XStoreQueryAssociatedProductsAsyncXStoreQueryEntitledProductsAsync
XStoreQueryProductsAsync
XStoreQueryProductForCurrentGameAsync
XStoreQueryProductForPackageAsync
基本应用商店操作
向玩家授予附加内容的访问权限
