XPackageUninstallChunks
Uninstalls chunks that match the specified 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 uninstalled. There’s no support for using only the integer ID to specify chunks to be uninstalled; attempting to do so will cause XPackageUninstallChunks to return a value of E_INVALIDARG. To specify chunks to be uninstalled, supply additional information for the selector, such as a language or a tag.
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
- Intelligent Delivery: language specifiers
- Intelligent Delivery: OnDemand content
- Time-sensitive threads
See also
XPackageStreaming Installation and Intelligent Delivery
