> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XStoreProductsQueryNextPageAsync

> XStoreProductsQueryNextPageAsync

# XStoreProductsQueryNextPageAsync

获取查询结果的下一页。

## 语法

```cpp theme={null}
HRESULT XStoreProductsQueryNextPageAsync(  
         const XStoreProductQueryHandle productQueryHandle,  
         XAsyncBlock* async  
)  
```

### 参数

*productQueryHandle*   \_In\_\
类型：XStoreProductQueryHandle

要检查是否有更多页面的查询句柄。首次调用 XStoreProductsQueryHasMorePages 时，此参数将是由 [XStoreQueryProductForCurrentGameResult](/reference/system/xstore/functions/xstorequeryproductforcurrentgameresult)、[XStoreQueryProductForPackageResult.md](/reference/system/xstore/functions/xstorequeryproductforpackageresult)、[XStoreQueryEntitledProductsResult](/reference/system/xstore/functions/xstorequeryentitledproductsresult)、[XStoreQueryProductsAsync](/reference/system/xstore/functions/xstorequeryproductsasync) 或 [XStoreQueryProductsResult](/reference/system/xstore/functions/xstorequeryproductsresult) 返回的 XStoreProductQueryHandle。在后续调用中，应使用 [XStoreProductsQueryNextPageResult](/reference/system/xstore/functions/xstoreproductsquerynextpageresult) 返回的查询句柄。

*async*   \_Inout\_\
类型：[XAsyncBlock\*](/reference/system/xasync/structs/xasyncblock)

定义正在执行的异步工作的 [XAsyncBlock](/reference/system/xasync/structs/xasyncblock)。可使用 [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) 轮询调用状态并检索调用结果。有关详细信息，请参阅 [XAsyncBlock](/reference/system/xasync/structs/xasyncblock)。

### 返回值

类型：HRESULT

HRESULT 成功或错误代码。

## 备注

此函数用于在通过 [XStoreEnumerateProductsQuery](/reference/system/xstore/functions/xstoreenumerateproductsquery) 枚举了产品查询之后查询更多产品信息。在调用此函数之前，应通过调用 [XStoreProductsQueryHasMorePages](/reference/system/xstore/functions/xstoreproductsqueryhasmorepages) 检查是否存在更多产品查询信息。要检索下一页查询结果以及此函数的执行结果，请在调用此函数后调用 [XStoreProductsQueryNextPageResult](/reference/system/xstore/functions/xstoreproductsquerynextpageresult)。有关用法示例，请参阅 [XStoreQueryAssociatedProductsAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsasync)。

## 要求

**头文件：** XStore.h（包含于 XGameRuntime.h 中）

**库：** xgameruntime.lib

**支持的平台：** Windows、XBOX One 系列主机和 XBOX Series 主机

## 另请参阅

[XStore](/reference/system/xstore/xstore_members)\
[XStoreProductsQueryNextPageResult](/reference/system/xstore/functions/xstoreproductsquerynextpageresult)\
[XStoreProductsQueryHasMorePages](/reference/system/xstore/functions/xstoreproductsqueryhasmorepages)\
[XStoreEnumerateProductsQuery](/reference/system/xstore/functions/xstoreenumerateproductsquery)


## Related topics

- [XStoreProductsQueryNextPageResult](/zh-CN/reference/system/xstore/functions/xstoreproductsquerynextpageresult.md)
- [XStoreProductsQueryHasMorePages](/zh-CN/reference/system/xstore/functions/xstoreproductsqueryhasmorepages.md)
- [XStoreEnumerateProductsQuery](/zh-CN/reference/system/xstore/functions/xstoreenumerateproductsquery.md)
- [XStore](/zh-CN/reference/system/xstore/xstore_members.md)
- [面向 GDK 的 Unity C# API 包装器](/zh-CN/build/gdk-and-engines/unity/unity-api-wrappers.md)
