> ## 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\_\
Type: 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\_\
Type: [XAsyncBlock\*](/reference/system/xasync/structs/xasyncblock)

実行中の非同期処理を定義する [XAsyncBlock](/reference/system/xasync/structs/xasyncblock)。[XAsyncBlock](/reference/system/xasync/structs/xasyncblock) は、呼び出しの状態のポーリングと呼び出し結果の取得に使用できます。詳細については、[XAsyncBlock](/reference/system/xasync/structs/xasyncblock) を参照してください。

### 戻り値

Type: 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](/ja-jp/reference/system/xstore/functions/xstoreproductsquerynextpageresult.md)
- [XStoreProductsQueryHasMorePages](/ja-jp/reference/system/xstore/functions/xstoreproductsqueryhasmorepages.md)
- [XStoreEnumerateProductsQuery](/ja-jp/reference/system/xstore/functions/xstoreenumerateproductsquery.md)
- [XStore](/ja-jp/reference/system/xstore/xstore_members.md)
- [GDK 向け Unity C# API ラッパー](/ja-jp/build/gdk-and-engines/unity/unity-api-wrappers.md)
