XStoreDownloadAndInstallPackagesResultCount

Gets the number of items in the result that will be returned by XStoreDownloadAndInstallPackagesResult.

Syntax

HRESULT XStoreDownloadAndInstallPackagesResultCount(  
         XAsyncBlock* async,  
         uint32_t* count  
)  

Parameters

async   _In_
Type: XAsyncBlock*

The XAsyncBlock that was passed to XStoreDownloadAndInstallPackagesAsync. The XAsyncBlock can be used to poll for the call's status and retrieve call results. See XAsyncBlock for more information.

count   _Out_
Type: uint32_t*

On success, contains the count of items in the result that will be returned by XStoreDownloadAndInstallPackagesResult.

Return value

Type: HRESULT

S_OK on success; otherwise, returns an error code.

Remarks

This result function allows you to retrieve the number of install packages downloaded when XStoreDownloadAndInstallPackagesAsync was called. As such, this function should be called after XStoreDownloadAndInstallPackagesAsync has been called, usually in the context of a callback function. See XStoreDownloadAndInstallPackagesAsync 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
XStoreDownloadAndInstallPackagesAsync
XStoreDownloadAndInstallPackagesResult