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

Obtient la page suivante des résultats de la requête.

## Syntaxe

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

### Paramètres

*productQueryHandle*   \_In\_\
Type : XStoreProductQueryHandle

Le handle de la requête pour laquelle vérifier s'il existe d'autres pages. Lors du premier appel à XStoreProductsQueryHasMorePages, il s'agit du XStoreProductQueryHandle retourné par [XStoreQueryProductForCurrentGameResult](/fr-CA/reference/system/xstore/functions/xstorequeryproductforcurrentgameresult), [XStoreQueryProductForPackageResult.md](/fr-CA/reference/system/xstore/functions/xstorequeryproductforpackageresult), [XStoreQueryEntitledProductsResult](/fr-CA/reference/system/xstore/functions/xstorequeryentitledproductsresult), [XStoreQueryProductsAsync](/fr-CA/reference/system/xstore/functions/xstorequeryproductsasync) ou [XStoreQueryProductsResult](/fr-CA/reference/system/xstore/functions/xstorequeryproductsresult). Lors des appels suivants, le handle de requête retourné par [XStoreProductsQueryNextPageResult](/fr-CA/reference/system/xstore/functions/xstoreproductsquerynextpageresult) doit être utilisé.

*async*   \_Inout\_\
Type : [XAsyncBlock\*](/fr-CA/reference/system/xasync/structs/xasyncblock)

Un [XAsyncBlock](/fr-CA/reference/system/xasync/structs/xasyncblock) qui définit le travail asynchrone en cours. Le [XAsyncBlock](/fr-CA/reference/system/xasync/structs/xasyncblock) peut servir à interroger l'état de l'appel et à récupérer les résultats de l'appel. Pour plus d'informations, consultez [XAsyncBlock](/fr-CA/reference/system/xasync/structs/xasyncblock).

### Valeur de retour

Type : HRESULT

Code de réussite ou d'erreur HRESULT.

## Remarques

Cette fonction sert à demander des informations supplémentaires sur les produits après l'énumération d'une requête de produits avec [XStoreEnumerateProductsQuery](/fr-CA/reference/system/xstore/functions/xstoreenumerateproductsquery). Avant d'appeler cette fonction, vous devez vérifier l'existence d'informations supplémentaires de requête de produits en appelant [XStoreProductsQueryHasMorePages](/fr-CA/reference/system/xstore/functions/xstoreproductsqueryhasmorepages). Pour récupérer la page suivante des résultats de la requête ainsi que le résultat d'exécution de cette fonction, appelez [XStoreProductsQueryNextPageResult](/fr-CA/reference/system/xstore/functions/xstoreproductsquerynextpageresult) après avoir appelé cette fonction. Consultez [XStoreQueryAssociatedProductsAsync](/fr-CA/reference/system/xstore/functions/xstorequeryassociatedproductsasync) pour un exemple d'utilisation.

## Configuration requise

**En-tête :** XStore.h (inclus dans XGameRuntime.h)

**Bibliothèque :** xgameruntime.lib

**Plateformes prises en charge :** Windows, consoles de la famille XBOX One et consoles XBOX Series

## Voir aussi

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


## Related topics

- [XStoreProductsQueryNextPageAsync](/reference/system/xstore/functions/xstoreproductsquerynextpageasync.md)
- [XStoreProductsQueryNextPageResult](/reference/system/xstore/functions/xstoreproductsquerynextpageresult.md)
