Skip to main content

XStoreCloseProductsQueryHandle

Closes the specified store products query handle.

Syntax

Parameters

productQueryHandle   _In_
Type: XStoreProductQueryHandle
The handle to close.

Return value

Type: void

Remarks

This function is safe to call on a time-sensitive thread. This function closes a product query handle returned by XStoreQueryProductForCurrentGameResult, XStoreQueryProductForPackageResult.md, XStoreQueryEntitledProductsResult, or XStoreQueryProductsResult. Failure to close an opened product query handle will result in a memory leak. See XStoreQueryAssociatedProductsAsync for a usage example.

Requirements

Header: XStore.h (included in XGameRuntime.h) Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

Conceptual documentation

See also

XStore
XStoreQueryProductForCurrentGameResult
XStoreQueryProductForPackageResult.md
XStoreQueryEntitledProductsResult
XStoreQueryProductsResult
Last modified on August 20, 2026