> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XPackageDetails

> XPackageDetails

# XPackageDetails

Contains details about an installation.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
typedef struct XPackageDetails {  
    const char* packageIdentifier;  
    XVersion version;  
    XPackageKind kind;  
    const char* displayName;  
    const char* description;  
    const char* publisher;  
    const char* storeId;  
    bool installing;  
    uint32_t index;  
    uint32_t count;
    bool ageRestricted;  
    const char* titleID;  
} XPackageDetails  
```

<a id="membersSection" />

### Members

*packageIdentifier*\
Type: 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)](/publishing/xstore-commerce/xstore-dlc).

*version*\
Type: [XVersion](/reference/system/xgameruntimetypes/structs/xversion)

The version of the package being installed.

*kind*\
Type: [XPackageKind](/reference/system/xpackage/enums/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.

<a id="remarksSection" />

## Remarks

The `XPackageDetails` structure provides details about a package's installation to the [XPackageEnumeratePackages](/reference/system/xpackage/functions/xpackageenumeratepackages) and [XPackageInstalledCallback](/reference/system/xpackage/functions/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](/build/core-features/common/packaging/overviews/packaging). For information about the steps to create an XVC package, see [Getting started packaging titles for XBOX consoles](/build/core-features/common/packaging/overviews/packaging-getting-started-for-console).

<a id="requirementsSection" />

## Requirements

**Header:** XPackage.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

<a id="seealsoSection" />

## Conceptual documentation

* [Manage and license downloadable content (DLC)](/publishing/xstore-commerce/xstore-dlc)

## See also

[Overview of downloadable content (DLC) packages](/build/core-features/common/packaging/packaging-downloadable-content-dlc)\
[XPackageEnumeratePackages](/reference/system/xpackage/functions/xpackageenumeratepackages)\
[XPackageInstalledCallback](/reference/system/xpackage/functions/xpackageinstalledcallback)\
[XPackage](/reference/system/xpackage/xpackage_members)


## Related topics

- [XPackageEnumerationCallback](/reference/system/xpackage/functions/xpackageenumerationcallback.md)
- [XPackage](/reference/system/xpackage/xpackage_members.md)
- [XPackageInstalledCallback](/reference/system/xpackage/functions/xpackageinstalledcallback.md)
- [XPackageMountWithUiAsync](/reference/system/xpackage/functions/xpackagemountwithuiasync.md)
- [XPackageRegisterPackageInstalled](/reference/system/xpackage/functions/xpackageregisterpackageinstalled.md)
