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

# XStoreCloseProductsQueryHandle

> XStoreCloseProductsQueryHandle

# XStoreCloseProductsQueryHandle

Fecha o identificador de consulta de produtos da loja especificado.

## Sintaxe

```cpp theme={null}
void XStoreCloseProductsQueryHandle(  
         XStoreProductQueryHandle productQueryHandle  
)  
```

### Parâmetros

*productQueryHandle*   \_In\_\
Tipo: XStoreProductQueryHandle

O identificador a ser fechado.

### Valor retornado

Tipo: void

## Comentários

É seguro chamar esta função em um thread sensível ao tempo.

Esta função fecha um identificador de consulta de produto 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) ou [XStoreQueryProductsResult](/pt-BR/reference/system/xstore/functions/xstorequeryproductsresult). Não fechar um identificador de consulta de produto aberto resultará em um vazamento de memória. 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

## Documentação conceitual

* [Threads sensíveis ao tempo](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)

## Confira também

[XStore](/pt-BR/reference/system/xstore/xstore_members)\
[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)\
[XStoreQueryProductsResult](/pt-BR/reference/system/xstore/functions/xstorequeryproductsresult)


## Related topics

- [XStoreCloseProductsQueryHandle](/zh-CN/reference/system/xstore/functions/xstorecloseproductsqueryhandle.md)
- [XStore](/reference/system/xstore/xstore_members.md)
- [XStoreEnumerateProductsQuery](/reference/system/xstore/functions/xstoreenumerateproductsquery.md)
- [XStoreQueryProductsResult](/reference/system/xstore/functions/xstorequeryproductsresult.md)
