XStoreQueryAssociatedProductsForStoreIdResult

Gets the results for a call to XStoreQueryAssociatedProductsForStoreIdAsync.

Syntax

HRESULT XStoreQueryAssociatedProductsForStoreIdResult(  
         XAsyncBlock* async,  
         XStoreProductQueryHandle* productQueryHandle  
)  

Parameters

async   _Inout_
Type: XAsyncBlock*

The XAsyncBlock that was passed to XStoreQueryAssociatedProductsForStoreIdAsync. The XAsyncBlock can be used to poll for the call's status and retrieve call results. See XAsyncBlock for more information.

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

This result function allows you to retrieve the execution results of XStoreQueryAssociatedProductsForStoreIdAsync, as well as the list of associated products called for if the execution was successful. As such, this function should be called after XStoreQueryAssociatedProductsForStoreIdAsync has been called, usually in the context of a callback function.

See XStoreQueryAssociatedProductsForStoreIdAsync 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

See also

XStore XStoreQueryAssociatedProductsForStoreIdAsync
XStoreQueryEntitledProductsAsync
XStoreQueryProductsAsync
XStoreQueryProductForCurrentGameAsync
XStoreQueryProductForPackageAsync