Compartir a través de


XStoreQueryGameAndDlcPackageUpdatesResult

Gets the result for a call to XStoreQueryGameAndDlcPackageUpdatesAsync.

Syntax

HRESULT XStoreQueryGameAndDlcPackageUpdatesResult(  
         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 XStoreQueryGameAndDlcPackageUpdatesAsync, as well as the list of available updates called for if the execution was successful. As such, this function should be called after XStoreQueryGameAndDlcPackageUpdatesAsync 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
XStoreQueryGameAndDlcPackageUpdatesAsync
XStoreQueryGameAndDlcPackageUpdatesResultCount