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

# XStoreProductsQueryNextPageResult

> XStoreProductsQueryNextPageResult

# XStoreProductsQueryNextPageResult

Obtient la page suivante des résultats d'une requête de produits.

## Syntaxe

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

### Paramètres

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

XAsyncBlock qui a été passé à [XStoreQueryProductForCurrentGameResult](/fr/reference/system/xstore/functions/xstorequeryproductforcurrentgameresult) ou [XStoreQueryProductForPackageResult.md](/fr/reference/system/xstore/functions/xstorequeryproductforpackageresult). 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).

*productQueryHandle*   \_Out\_\
Type : XStoreProductQueryHandle\*

Au retour, contient un handle de requête pointant vers la page suivante de la requête. Le handle de requête renvoyé permet de suivre la page de résultats actuelle de la requête et doit être utilisé lors du prochain appel à [XStoreProductsQueryHasMorePages](/fr/reference/system/xstore/functions/xstoreproductsqueryhasmorepages) et [XStoreProductsQueryNextPageAsync](/fr/reference/system/xstore/functions/xstoreproductsquerynextpageasync).

### Valeur de retour

Type : HRESULT

S\_OK en cas de réussite ; sinon, renvoie un code d'erreur.

## Remarques

Cette fonction de résultat vous permet de récupérer les résultats d'exécution de [XStoreProductsQueryNextPageAsync](/fr/reference/system/xstore/functions/xstoreproductsquerynextpageasync), ainsi que la page suivante des résultats de la requête demandée si l'exécution a réussi. Par conséquent, cette fonction doit être appelée après l'appel à [XStoreProductsQueryNextPageAsync](/fr/reference/system/xstore/functions/xstoreproductsquerynextpageasync), généralement dans le contexte d'une fonction de rappel. 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)\
[XStoreProductsQueryNextPageAsync](/fr/reference/system/xstore/functions/xstoreproductsquerynextpageasync)\
[XStoreProductsQueryHasMorePages](/fr/reference/system/xstore/functions/xstoreproductsqueryhasmorepages)


## Related topics

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