XStoreQueryPackageUpdatesResult

Gets the result for a call to XStoreQueryPackageUpdatesAsync.

Syntax

HRESULT XStoreQueryPackageUpdatesResult(  
         XAsyncBlock* async,  
         uint32_t count,  
         XStorePackageUpdate* packageUpdates  
)  

Parameters

async   _Inout_
Type: XAsyncBlock*

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

count   _In_
Type: uint32_t

The number of elements in the array passed into packageUpdates.

packageUpdates   _Out_writes_(count)
Type: XStorePackageUpdate*

On success contains the retrieved package updates.

Return value

Type: HRESULT

HRESULT success or error code.

Remarks

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

See XStoreQueryPackageUpdatesAsync 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
XStoreQueryPackageUpdatesAsync
XStoreQueryPackageUpdatesResultCount