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

# XStoreProductsQueryNextPageResult

> XStoreProductsQueryNextPageResult

# XStoreProductsQueryNextPageResult

获取产品查询结果的下一页。

## 语法

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

### 参数

*async*   \_Inout\_\
类型：[XAsyncBlock\*](https://docs.xbox.com/zh-CN/reference/system/xasync/structs/xasyncblock.md)

传递给 [XStoreQueryProductForCurrentGameResult](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstorequeryproductforcurrentgameresult.md) 或 [XStoreQueryProductForPackageResult.md](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstorequeryproductforpackageresult.md) 的 XAsyncBlock。可使用 [XAsyncBlock](https://docs.xbox.com/zh-CN/reference/system/xasync/structs/xasyncblock.md) 轮询调用状态并检索调用结果。有关详细信息，请参阅 [XAsyncBlock](https://docs.xbox.com/zh-CN/reference/system/xasync/structs/xasyncblock.md)。

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

返回时包含指向查询下一页的查询句柄。返回的查询句柄用于跟踪查询的当前结果页，并应在下一次调用 [XStoreProductsQueryHasMorePages](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstoreproductsqueryhasmorepages.md) 和 [XStoreProductsQueryNextPageAsync](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstoreproductsquerynextpageasync.md) 时使用。

### 返回值

类型：HRESULT

成功时返回 S\_OK；否则返回错误代码。

## 备注

此结果函数使你能够检索 [XStoreProductsQueryNextPageAsync](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstoreproductsquerynextpageasync.md) 的执行结果，如果执行成功，还可以检索所请求的下一页查询结果。因此，此函数应在调用 [XStoreProductsQueryNextPageAsync](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstoreproductsquerynextpageasync.md) 之后调用，通常在回调函数的上下文中。有关用法示例，请参阅 [XStoreQueryAssociatedProductsAsync](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstorequeryassociatedproductsasync.md)。

## 要求

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

**库：** xgameruntime.lib

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

## 另请参阅

[XStore](https://docs.xbox.com/zh-CN/reference/system/xstore/xstore_members.md)\
[XStoreProductsQueryNextPageAsync](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstoreproductsquerynextpageasync.md)\
[XStoreProductsQueryHasMorePages](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstoreproductsqueryhasmorepages.md)


## Related topics

- [XStoreProductsQueryNextPageAsync](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstoreproductsquerynextpageasync.md)
- [XStoreProductsQueryHasMorePages](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstoreproductsqueryhasmorepages.md)
- [XStoreQueryAssociatedProductsAsync](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstorequeryassociatedproductsasync.md)
- [XStore（API 内容）](https://docs.xbox.com/zh-CN/reference/system/xstore/xstore_members.md)
- [在 Unity 项目中使用 GDK API 的 C# 包装器](https://docs.xbox.com/zh-CN/build/gdk-and-engines/unity/unity-api-wrappers.md)
