XStoreProductsQueryNextPageAsync
获取查询结果的下一页。
语法
HRESULT XStoreProductsQueryNextPageAsync(
const XStoreProductQueryHandle productQueryHandle,
XAsyncBlock* async
)
参数
productQueryHandle _In_
类型:XStoreProductQueryHandle
要检查是否有更多页的查询句柄。 首次调用 XStoreProductsQueryHasMorePages 时,这将是 XStoreQueryProductForCurrentGameResult、XStoreQueryProductForPackageResult.md、XStoreQueryEntitledProductsResultXStoreQueryProductsAsync 或 XStoreQueryProductsResult 返回的 XStoreProductQueryHandle。 在后续调用时,应使用 XStoreProductsQueryNextPageResult 返回的查询句柄。
async _Inout_
类型:XAsyncBlock*
用于定义正在进行的异步工作的 XAsyncBlock。 XAsyncBlock 可用于轮询调用的状态和检索调用结果。 有关详细信息,请参阅 XAsyncBlock。
返回值
类型:HRESULT
HRESULT 成功或错误代码。
备注
此函数用于在使用 XStoreEnumerateProductsQuery 枚举产品查询后查询其他产品信息。 在调用此函数之前,应通过调用 XStoreProductsQueryHasMorePages 检查是否存在其他产品查询信息。 要检索查询结果的下一页以及此函数的执行结果,请在调用此函数后调用 XStoreProductsQueryNextPageResult。 有关使用示例,请参阅 XStoreQueryAssociatedProductsAsync。
要求
头文件:XStore.h(包含在 XGameRuntime.h 中)
库:xgameruntime.lib
支持平台:Windows、Xbox One 系列主机和 Xbox Series 主机
另请参阅
XStore
XStoreProductsQueryNextPageResult
XStoreProductsQueryHasMorePages
XStoreEnumerateProductsQuery