Skip to main content

XStoreQueryProductsResult

Gets the results for a call to XStoreQueryProductsAsync.

Syntax

Parameters

async   _Inout_
Type: XAsyncBlock*
The XAsyncBlock passed to XStoreQueryProductsAsync. Use the XAsyncBlock to check the call’s status and get the results. For more information, see XAsyncBlock. productQueryHandle   _Out_
Type: XStoreProductQueryHandle*
On return, contains a XStoreProductQueryHandle representing the query. The returned XStoreProductQueryHandle can be passed to XStoreEnumerateProductsQuery to enumerate the products the query returned.

Return value

Type: HRESULT S_OK on success; otherwise, returns an error code.

Remarks

Use this result function to get the execution results of XStoreQueryProductsAsync. If the execution succeeds, it returns the listing information. Call this function after XStoreQueryProductsAsync, usually in the context of a callback function. For a usage example, see XStoreQueryProductsAsync.

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
XStoreQueryAssociatedProductsAsync
XStoreQueryEntitledProductsAsync
XStoreQueryProductsAsync
XStoreQueryProductForCurrentGameAsync
XStoreQueryProductForPackageAsync
Basic store operations
Granting players access to add-on content
Last modified on August 20, 2026