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

# XStoreProductsQueryNextPageAsync

> XStoreProductsQueryNextPageAsync

# XStoreProductsQueryNextPageAsync

Obtém a próxima página de resultados da consulta.

## Sintaxe

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

### 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.md](/pt-BR/reference/system/xstore/functions/xstorequeryproductforpackageresult), [XStoreQueryEntitledProductsResult](/pt-BR/reference/system/xstore/functions/xstorequeryentitledproductsresult), [XStoreQueryProductsAsync](/pt-BR/reference/system/xstore/functions/xstorequeryproductsasync) 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).

*async*   \_Inout\_\
Tipo: [XAsyncBlock\*](/pt-BR/reference/system/xasync/structs/xasyncblock)

Um [XAsyncBlock](/pt-BR/reference/system/xasync/structs/xasyncblock) que define o trabalho assíncrono que está sendo feito. O [XAsyncBlock](/pt-BR/reference/system/xasync/structs/xasyncblock) pode ser usado para sondar o status da chamada e recuperar os resultados da chamada. Consulte [XAsyncBlock](/pt-BR/reference/system/xasync/structs/xasyncblock) para obter mais informações.

### Valor retornado

Tipo: HRESULT

Código de êxito ou de erro HRESULT.

## Comentários

Esta função é usada para consultar informações adicionais de produto depois que uma consulta de produto foi enumerada com [XStoreEnumerateProductsQuery](/pt-BR/reference/system/xstore/functions/xstoreenumerateproductsquery). Antes de chamar esta função, você deve verificar a existência de informações adicionais da consulta de produto chamando [XStoreProductsQueryHasMorePages](/pt-BR/reference/system/xstore/functions/xstoreproductsqueryhasmorepages). Para recuperar a próxima página de resultados da consulta, bem como o resultado da execução desta função, chame [XStoreProductsQueryNextPageResult](/pt-BR/reference/system/xstore/functions/xstoreproductsquerynextpageresult) após chamar esta função. 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)\
[XStoreProductsQueryNextPageResult](/pt-BR/reference/system/xstore/functions/xstoreproductsquerynextpageresult)\
[XStoreProductsQueryHasMorePages](/pt-BR/reference/system/xstore/functions/xstoreproductsqueryhasmorepages)\
[XStoreEnumerateProductsQuery](/pt-BR/reference/system/xstore/functions/xstoreenumerateproductsquery)


## Related topics

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