XStoreDownloadPackageUpdatesResult

Gets the results for a call to XStoreDownloadPackageUpdatesAsync.

Syntax

HRESULT XStoreDownloadPackageUpdatesResult(  
         XAsyncBlock* async  
)  

Parameters

async   _Inout_
Type: XAsyncBlock*

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

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 XStoreDownloadPackageUpdatesAsync. As such, this function should be called after XStoreDownloadPackageUpdatesAsync has been called, usually in the context of a callback function.

See XStoreQueryGameAndDlcPackageUpdatesAsync 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
XStoreDownloadPackageUpdatesAsync