> ## 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-CA/reference/system/xasync/structs/xasyncblock)

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

*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 retourné sert à suivre la page actuelle des résultats de la requête et doit être utilisé lors du prochain appel à [XStoreProductsQueryHasMorePages](/fr-CA/reference/system/xstore/functions/xstoreproductsqueryhasmorepages) et à [XStoreProductsQueryNextPageAsync](/fr-CA/reference/system/xstore/functions/xstoreproductsquerynextpageasync).

### Valeur de retour

Type : HRESULT

S\_OK en cas de réussite; sinon, retourne 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-CA/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 de [XStoreProductsQueryNextPageAsync](/fr-CA/reference/system/xstore/functions/xstoreproductsquerynextpageasync), habituellement dans le contexte d'une fonction de rappel. 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)\
[XStoreProductsQueryNextPageAsync](/fr-CA/reference/system/xstore/functions/xstoreproductsquerynextpageasync)\
[XStoreProductsQueryHasMorePages](/fr-CA/reference/system/xstore/functions/xstoreproductsqueryhasmorepages)


## Related topics

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