XPackageDetails
Contains details about an installation.Syntax
Members
packageIdentifierType: const 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). version
Type: XVersion The version of the package being installed. kind
Type: XPackageKind The value that indicates whether the package is an app package or a content package. displayName
Type: const char* The display name. description
Type: const char* The description of the package. publisher
Type: const char* The publisher of the package. storeId
Type: const char* The unique ID of the product. installing
Type: bool The Boolean that indicates whether the package is currently installing. index
Type: uint32_t Value incremented for each package enumerated. On package installation, index is 0. count
Type: uint32_t Total number of packages that can be enumerated. On package installation, count is 1. ageRestricted
Type: bool The Boolean that indicates whether package is age restricted for the current union of all signed in users. Mounting an age restricted package will trigger a parental consent prompt for user. titleID
Type: const char* The TitleID of the game. For DLCs, it will be empty. Format: hexadecimal, exactly 8 digits, uppercase, no “0x” in front.
Remarks
TheXPackageDetails structure provides details about a package’s installation to the XPackageEnumeratePackages and XPackageInstalledCallback functions.
XPackageDetails is valid only in the scope of the callback. If you need to retain any of the data, copy it before returning from the callback.
For information about the packaging technology used with XBOX One titles, see Overview of Packaging. For information about the steps to create an XVC package, see Getting started packaging titles for XBOX consoles.
Requirements
Header: XPackage.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
Overview of downloadable content (DLC) packagesXPackageEnumeratePackages
XPackageInstalledCallback
XPackage
