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

# XStoreProductsQueryHasMorePages

> XStoreProductsQueryHasMorePages

# XStoreProductsQueryHasMorePages

Vérifie s'il existe d'autres pages de résultats pour la requête spécifiée.
Il est essentiel d'appeler cette fonction pour les API `XStoreQuery`, en particulier celles qui sont censées retourner plusieurs résultats, comme [XStoreQueryAssociatedProductsAsync](/fr-CA/reference/system/xstore/functions/xstorequeryassociatedproductsasync).

## Syntaxe

```cpp theme={null}
bool XStoreProductsQueryHasMorePages(  
         const XStoreProductQueryHandle productQueryHandle  
)  
```

### 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](/fr-CA/reference/system/xstore/functions/xstorequeryproductforpackageresult), [XStoreQueryEntitledProductsResult](/fr-CA/reference/system/xstore/functions/xstorequeryentitledproductsresult) 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é.

### Valeur de retour

Type : bool

Retourne true s'il existe d'autres pages de résultats à afficher.

## Remarques

Cette fonction sert à vérifier si une requête de produits comporte des pages supplémentaires d'informations sur les produits.
Elle est appelée après l'énumération d'une requête de produits avec [XStoreEnumerateProductsQuery](/fr-CA/reference/system/xstore/functions/xstoreenumerateproductsquery).
Si cette fonction retourne true, il reste des informations de requête de produits à lire.
Appelez [XStoreProductsQueryNextPageAsync](/fr-CA/reference/system/xstore/functions/xstoreproductsquerynextpageasync) pour lire les informations supplémentaires de la requête de produits.
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)\
[XStoreEnumerateProductsQuery](/fr-CA/reference/system/xstore/functions/xstoreenumerateproductsquery)\
[XStoreProductsQueryNextPageAsync](/fr-CA/reference/system/xstore/functions/xstoreproductsquerynextpageasync)\
[XStoreQueryAssociatedProductsAsync](/fr-CA/reference/system/xstore/functions/xstorequeryassociatedproductsasync)


## Related topics

- [XStoreProductsQueryHasMorePages](/reference/system/xstore/functions/xstoreproductsqueryhasmorepages.md)
- [XStoreProductsQueryNextPageResult](/es/reference/system/xstore/functions/xstoreproductsquerynextpageresult.md)
