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

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

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

[XAsyncBlock](/fr/reference/system/xasync/structs/xasyncblock) définissant le travail asynchrone en cours. Le [XAsyncBlock](/fr/reference/system/xasync/structs/xasyncblock) peut être utilisé pour interroger l'état de l'appel et récupérer ses résultats. Pour plus d'informations, consultez [XAsyncBlock](/fr/reference/system/xasync/structs/xasyncblock).

### Valeur de retour

Type : HRESULT

Code de réussite ou d'erreur HRESULT.

## Remarques

Cette fonction permet de demander des informations supplémentaires sur les produits après l'énumération d'une requête de produits avec [XStoreEnumerateProductsQuery](/fr/reference/system/xstore/functions/xstoreenumerateproductsquery). Avant d'appeler cette fonction, vous devez vérifier l'existence d'informations de requête de produits supplémentaires en appelant [XStoreProductsQueryHasMorePages](/fr/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/reference/system/xstore/functions/xstoreproductsquerynextpageresult) après avoir appelé cette fonction. Pour obtenir un exemple d'utilisation, consultez [XStoreQueryAssociatedProductsAsync](/fr/reference/system/xstore/functions/xstorequeryassociatedproductsasync).

## 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/reference/system/xstore/xstore_members)\
[XStoreProductsQueryNextPageResult](/fr/reference/system/xstore/functions/xstoreproductsquerynextpageresult)\
[XStoreProductsQueryHasMorePages](/fr/reference/system/xstore/functions/xstoreproductsqueryhasmorepages)\
[XStoreEnumerateProductsQuery](/fr/reference/system/xstore/functions/xstoreenumerateproductsquery)


## Related topics

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