> ## 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.

# XStoreProductsQueryNextPageAsync

> XStoreProductsQueryNextPageAsync

# XStoreProductsQueryNextPageAsync

クエリ結果の次のページを取得します。

## 構文

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

### パラメーター

*productQueryHandle*   \_In\_\
Type: XStoreProductQueryHandle

さらにページがあるかを確認するクエリへのハンドル。XStoreProductsQueryHasMorePages の最初の呼び出しでは、これは [XStoreQueryProductForCurrentGameResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryproductforcurrentgameresult.md)、[XStoreQueryProductForPackageResult.md](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryproductforpackageresult.md)、[XStoreQueryEntitledProductsResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryentitledproductsresult.md)、[XStoreQueryProductsAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryproductsasync.md)、または [XStoreQueryProductsResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryproductsresult.md) から返される XStoreProductQueryHandle になります。後続の呼び出しでは、[XStoreProductsQueryNextPageResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreproductsquerynextpageresult.md) から返されるクエリ ハンドルを使用します。

*async*   \_Inout\_\
Type: [XAsyncBlock\*](https://docs.xbox.com/ja-jp/reference/system/xasync/structs/xasyncblock.md)

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

### 戻り値

Type: HRESULT

HRESULT の成功またはエラー コード。

## 解説

この関数は、[XStoreEnumerateProductsQuery](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreenumerateproductsquery.md) で製品クエリを列挙した後、追加の製品情報をクエリするために使用されます。この関数を呼び出す前に、[XStoreProductsQueryHasMorePages](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreproductsqueryhasmorepages.md) を呼び出して追加の製品クエリ情報の存在を確認する必要があります。クエリ結果の次のページとこの関数の実行結果を取得するには、この関数を呼び出した後に [XStoreProductsQueryNextPageResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreproductsquerynextpageresult.md) を呼び出します。使用例については、[XStoreQueryAssociatedProductsAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryassociatedproductsasync.md) を参照してください。

## 要件

**ヘッダー:** XStore.h (XGameRuntime.h に含まれる)

**ライブラリ:** xgameruntime.lib

**サポートされているプラットフォーム:** Windows、XBOX One ファミリ本体および XBOX Series 本体

## 関連項目

[XStore](https://docs.xbox.com/ja-jp/reference/system/xstore/xstore_members.md)\
[XStoreProductsQueryNextPageResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreproductsquerynextpageresult.md)\
[XStoreProductsQueryHasMorePages](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreproductsqueryhasmorepages.md)\
[XStoreEnumerateProductsQuery](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreenumerateproductsquery.md)


## Related topics

- [XStoreProductsQueryNextPageResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreproductsquerynextpageresult.md)
- [XStoreProductsQueryHasMorePages](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreproductsqueryhasmorepages.md)
- [XStoreQueryAssociatedProductsForStoreIdAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidasync.md)
- [XStoreQueryAssociatedProductsAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryassociatedproductsasync.md)
- [XStoreEnumerateProductsQuery](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreenumerateproductsquery.md)
