XStoreDownloadAndInstallPackageUpdatesAsync
Downloads and installs updates for the specified store packages.Syntax
Parameters
storeContextHandle _In_Type: XStoreContextHandle The store context handle for the user returned by XStoreCreateContext. packageIdentifiers _In_z_count_(packageIdentifiersCount)
Type: char** List of package identifier strings. A package identifier uniquely identifies a package from the Microsoft Store. For more information about package identifiers, see Manage and license downloadable content (DLC). packageIdentifiersCount _In_
Type: size_t The number of identifiers in
packageIdentifiers.
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. For more information, see XAsyncBlock.
Return value
Type: HRESULT HRESULT success or error code.Remarks
This function downloads and installs updates for the specified store packages.When you call this function and it finds updates for the game, the game terminates immediately to allow the install to occur.
storeIds parameter.
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
XStoreXStoreDownloadAndInstallPackageUpdatesResult
