Skip to main content

XStoreQueryAssociatedProductsForStoreIdResult

Gets the results for a call to XStoreQueryAssociatedProductsForStoreIdAsync.

Syntax

Parameters

async   _Inout_
Type: XAsyncBlock*
The XAsyncBlock that you pass to XStoreQueryAssociatedProductsForStoreIdAsync. 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. Pass the returned XStoreProductQueryHandle to XStoreEnumerateProductsQuery to list the products the query returned.

Return value

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

Remarks

This result function retrieves the execution results of XStoreQueryAssociatedProductsForStoreIdAsync. If the result is successful, it includes a list of associated products that you can enumerate with XStoreEnumerateProductsQuery. Call this function after XStoreQueryAssociatedProductsForStoreIdAsync, usually in the context of a callback function. For a usage example, see XStoreQueryAssociatedProductsForStoreIdAsync.

Requirements

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

See also

XStore XStoreQueryAssociatedProductsForStoreIdAsync
XStoreQueryEntitledProductsAsync
XStoreQueryProductsAsync
XStoreQueryProductForCurrentGameAsync
XStoreQueryProductForPackageAsync
Last modified on August 20, 2026