XPackageUninstallPackage
Uninstalls a given package.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).
Return value
Type: bool Bool tells whether package was uninstalled successfully or not.Remarks
This function isn’t safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.
- The package is in use. For example, it is a DLC package the game currently has mounted.
- The game is running on an xCloud server. Package installation and removal is the responsibility of the server environment.
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
