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

Comprueba si hay más páginas de resultados para la consulta especificada.
Es esencial llamar a esta función para las API `XStoreQuery`, especialmente aquellas de las que se espera que devuelvan varios resultados, como [XStoreQueryAssociatedProductsAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsasync).

## Sintaxis

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

### Parámetros

*productQueryHandle*   \_In\_\
Tipo: XStoreProductQueryHandle

El identificador de la consulta en la que se comprobará si hay más páginas. En la primera llamada a XStoreProductsQueryHasMorePages, será el XStoreProductQueryHandle devuelto por [XStoreQueryProductForCurrentGameResult](/reference/system/xstore/functions/xstorequeryproductforcurrentgameresult), [XStoreQueryProductForPackageResult](/reference/system/xstore/functions/xstorequeryproductforpackageresult), [XStoreQueryEntitledProductsResult](/reference/system/xstore/functions/xstorequeryentitledproductsresult)  o [XStoreQueryProductsResult](/reference/system/xstore/functions/xstorequeryproductsresult).
En las llamadas posteriores, se debe usar el identificador de consulta devuelto por [XStoreProductsQueryNextPageResult](/reference/system/xstore/functions/xstoreproductsquerynextpageresult).

### Valor devuelto

Tipo: bool

Devuelve true si hay más páginas de resultados que mostrar.

## Comentarios

Esta función se usa para comprobar si una consulta de productos tiene páginas adicionales de información de productos.
Se llama después de que una consulta de productos se haya enumerado con [XStoreEnumerateProductsQuery](/reference/system/xstore/functions/xstoreenumerateproductsquery).
Si esta función devuelve true, hay más información de la consulta de productos por leer.
Llame a [XStoreProductsQueryNextPageAsync](/reference/system/xstore/functions/xstoreproductsquerynextpageasync) para leer información adicional de la consulta de productos.
Consulte [XStoreQueryAssociatedProductsAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsasync) para ver un ejemplo de uso.

## Requisitos

**Encabezado:** XStore.h (incluido en XGameRuntime.h)

**Biblioteca:** xgameruntime.lib

**Plataformas compatibles:** Windows, consolas de la familia XBOX One y consolas XBOX Series

## Consulte también

[XStore](/reference/system/xstore/xstore_members)\
[XStoreEnumerateProductsQuery](/reference/system/xstore/functions/xstoreenumerateproductsquery)\
[XStoreProductsQueryNextPageAsync](/reference/system/xstore/functions/xstoreproductsquerynextpageasync)\
[XStoreQueryAssociatedProductsAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsasync)


## Related topics

- [XStoreProductsQueryNextPageResult](/es/reference/system/xstore/functions/xstoreproductsquerynextpageresult.md)
- [XStoreProductsQueryNextPageAsync](/es/reference/system/xstore/functions/xstoreproductsquerynextpageasync.md)
- [XStoreEnumerateProductsQuery](/es/reference/system/xstore/functions/xstoreenumerateproductsquery.md)
- [XStore](/es/reference/system/xstore/xstore_members.md)
- [Contenedores de API de C# de Unity para el GDK](/es/build/gdk-and-engines/unity/unity-api-wrappers.md)
