XStoreQueryGameAndDlcPackageUpdatesAsync
Retrieves a list of available updates for the game’s package and any associated DLC or hub-aware packages that can then be used to download and install these updates.Syntax
Parameters
storeContextHandle _In_Type: XStoreContextHandle The store context handle for the user returned by XStoreCreateContext. async _Inout_
Type: XAsyncBlock* An XAsyncBlock defining the asynchronous work being done. 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 HRESULT success or error code.Remarks
To retrieve the list of available updates as well as the execution result of this function call XStoreQueryGameAndDlcPackageUpdatesResult after calling this function. To get the number of updates to retrieve call XStoreQueryGameAndDlcPackageUpdatesResultCount after calling this function. The result count function is important as it will allow you to determine the appropriate size of array to pass to the result function.
The following code snippet shows an example of retrieving game and optional updates for the current package.
Requirements
Header: XStore.h (included in XGameRuntime.h) Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
XStoreXStoreQueryGameAndDlcPackageUpdatesResult
XStoreQueryGameAndDlcPackageUpdatesResultCount
Franchise Game Hubs
