Syntax
Parameters
storeId   _In_z_Type: char* The ID in the store of the product that contains the package. size   _In_
Type: size_t The number of characters in the package identifier. This size must be at least XPACKAGE_IDENTIFIER_MAX_LENGTH (33) in size. packageIdentifier   _Out_writes_z_(size)
Type: char* Upon success, contains the package identifier. For more information about package identifiers, see Manage and license downloadable content (DLC).
Return value
Type: HRESULT Returns S_OK upon success, or an error code otherwise.Remarks
To download and install the specified store packages, call XStoreDownloadAndInstallPackagesAsync. To get the result of a call toXStoreDownloadAndInstallPackagesAsync, call XStoreDownloadAndInstallPackagesResult.
To get the number of items in the result that is returned by XStoreDownloadAndInstallPackagesResult, call XStoreDownloadAndInstallPackagesResultCount.
