XPackageEstimateDownloadSize
Computes the download size of the chunks that match the specified installation selectors.Syntax
Parameters
packageIdentifier _In_z_Type: char* A string that uniquely identifies the installed package on the disk. For more information about package identifiers, see Manage and license downloadable content (DLC). selectorCount _In_
Type: uint32_t The number of selectors in the selectors parameter. selectors _In_reads_(selectorCount)
Type: XPackageChunkSelector* An array of selectors that specify the chunks to be operated on. downloadSize _Out_
Type: uint64_t* On return, contains the download size of the specified installation selectors. shouldPresentUserConfirmation _Out_opt_
Type: bool* If the download would require the user’s confirmation, returns true; otherwise, returns false.
Return value
Type: HRESULT HRESULT success or error code.Remarks
This function isn’t safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.
Requirements
Header: XPackage.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
XPackageStreaming Installation and Intelligent Delivery
