Skip to main content

XStoreQueryAssociatedProductsResult

Gets the results for a call to XStoreQueryAssociatedProductsAsync.

Syntax

Parameters

async   _Inout_
Type: XAsyncBlock*
The XAsyncBlock that you pass to XStoreQueryAssociatedProductsAsync. 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 XStoreQueryAssociatedProductsAsync. If the execution was successful, it returns a list of associated products. Call this function after XStoreQueryAssociatedProductsAsync, usually in the context of a callback function. For a usage example, see XStoreQueryAssociatedProductsAsync.

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