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

Verifica se há mais páginas de resultados para a consulta especificada.
É essencial chamar esta função para as APIs `XStoreQuery`, especialmente aquelas que devem retornar vários resultados, como [XStoreQueryAssociatedProductsAsync](/pt-BR/reference/system/xstore/functions/xstorequeryassociatedproductsasync).

## Sintaxe

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

### Parâmetros

*productQueryHandle*   \_In\_\
Tipo: XStoreProductQueryHandle

O identificador da consulta a ser verificada quanto a mais páginas. Na primeira chamada para XStoreProductsQueryHasMorePages, este será o XStoreProductQueryHandle retornado por [XStoreQueryProductForCurrentGameResult](/pt-BR/reference/system/xstore/functions/xstorequeryproductforcurrentgameresult), [XStoreQueryProductForPackageResult](/pt-BR/reference/system/xstore/functions/xstorequeryproductforpackageresult), [XStoreQueryEntitledProductsResult](/pt-BR/reference/system/xstore/functions/xstorequeryentitledproductsresult) ou [XStoreQueryProductsResult](/pt-BR/reference/system/xstore/functions/xstorequeryproductsresult).
Nas chamadas subsequentes, deve ser usado o identificador de consulta retornado por [XStoreProductsQueryNextPageResult](/pt-BR/reference/system/xstore/functions/xstoreproductsquerynextpageresult).

### Valor retornado

Tipo: bool

Retorna true se houver mais páginas de resultados a serem exibidas.

## Comentários

Esta função é usada para verificar se uma consulta de produto tem páginas adicionais de informações de produto.
Ela é chamada depois que uma consulta de produto foi enumerada com [XStoreEnumerateProductsQuery](/pt-BR/reference/system/xstore/functions/xstoreenumerateproductsquery).
Se esta função retornar true, haverá mais informações da consulta de produto a serem lidas.
Chame [XStoreProductsQueryNextPageAsync](/pt-BR/reference/system/xstore/functions/xstoreproductsquerynextpageasync) para ler as informações adicionais da consulta de produto.
Consulte [XStoreQueryAssociatedProductsAsync](/pt-BR/reference/system/xstore/functions/xstorequeryassociatedproductsasync) para obter um exemplo de uso.

## Requisitos

**Cabeçalho:** XStore.h (incluído em XGameRuntime.h)

**Biblioteca:** xgameruntime.lib

**Plataformas com suporte:** Windows, consoles da família XBOX One e consoles XBOX Series

## Confira também

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


## Related topics

- [XStoreProductsQueryHasMorePages](/reference/system/xstore/functions/xstoreproductsqueryhasmorepages.md)
- [XStoreProductsQueryNextPageResult](/es/reference/system/xstore/functions/xstoreproductsquerynextpageresult.md)
- [XStoreProductsQueryNextPageAsync](/reference/system/xstore/functions/xstoreproductsquerynextpageasync.md)
- [XStoreQueryAssociatedProductsForStoreIdAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidasync.md)
- [XStoreQueryAssociatedProductsAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsasync.md)
