XStoreDownloadAndInstallPackageUpdatesResult

Gets the results for a call to XStoreDownloadAndInstallPackageUpdatesAsync.

Syntax

HRESULT XStoreDownloadAndInstallPackageUpdatesResult(  
         XAsyncBlock* async  
)  

Parameters

async   _Inout_
Type: XAsyncBlock*

The XAsyncBlock that was passed to XStoreDownloadAndInstallPackageUpdatesAsync. 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 XStoreDownloadAndInstallPackageUpdatesAsync. As such, this function should be called after XStoreDownloadAndInstallPackageUpdatesAsync 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
XStoreDownloadAndInstallPackageUpdatesAsync