> ## 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

インストールに関する詳細情報が含まれます。

<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*\
型: const char\*

ディスク上のインストール済みパッケージを一意に識別する文字列。パッケージ識別子の詳細については、[ダウンロード可能なコンテンツ (DLC) の管理およびライセンス](https://learn.microsoft.com/gaming/gdk/docs/store/commerce/fundamentals/xstore-manage-and-license-optional-packages) を参照してください。

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

インストールされるパッケージのバージョン。

*kind*\
型: [XPackageKind](/reference/system/xpackage/enums/xpackagekind)

パッケージがアプリ パッケージかコンテンツ パッケージかを示す値。

*displayName*\
型: const char\*

表示名。

*description*\
型: const char\*

パッケージの説明。

*publisher*\
型: const char\*

パッケージの発行元。

*storeId*\
型: const char\*

製品の一意の ID。

*installing*\
型: bool

パッケージが現在インストール中かどうかを示すブール値。

*index*\
型: uint32\_t

列挙された各パッケージに対してインクリメントされる値。パッケージのインストール時、*index* は 0 です。

*count*\
型: uint32\_t

列挙可能なパッケージの合計数。パッケージのインストール時、*count* は 1 です。

*ageRestricted*\
型: bool

パッケージが、現在サインインしているすべてのユーザーの共通集合に対して年齢制限があるかどうかを示すブール値。年齢制限のあるパッケージをマウントすると、ユーザーに対して保護者の同意プロンプトがトリガーされます。

*titleID*\
型: const char\*

ゲームの TitleID。DLC の場合は空になります。形式: 16 進数、正確に 8 桁、大文字、先頭に "0x" は付きません。

<a id="remarksSection" />

## Remarks

`XPackageDetails` 構造体は、[XPackageEnumeratePackages](/reference/system/xpackage/functions/xpackageenumeratepackages) 関数および [XPackageInstalledCallback](/reference/system/xpackage/functions/xpackageinstalledcallback) 関数にパッケージのインストールに関する詳細情報を提供します。

`XPackageDetails` はコールバックのスコープ内でのみ有効です。データを保持する必要がある場合は、コールバックから戻る前にコピーしてください。

XBOX One タイトルで使用されるパッケージ技術については、[パッケージ化の概要](/build/core-features/common/packaging/overviews/packaging) を参照してください。XVC パッケージを作成する手順については、[XBOX 本体用にタイトルをパッケージ化する開始方法](/build/core-features/common/packaging/overviews/packaging-getting-started-for-console) を参照してください。

<a id="requirementsSection" />

## Requirements

**ヘッダー:** XPackage.h

**サポートされているプラットフォーム:** Windows、XBOX One ファミリー本体および XBOX Series 本体

<a id="seealsoSection" />

## Conceptual documentation

* [ダウンロード可能なコンテンツ (DLC) の管理およびライセンス](https://learn.microsoft.com/gaming/gdk/docs/store/commerce/fundamentals/xstore-manage-and-license-optional-packages)

## See also

[ダウンロード可能なコンテンツ (DLC) パッケージの概要](/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](/ja-jp/reference/system/xpackage/functions/xpackageenumerationcallback.md)
- [XPackageInstalledCallback](/ja-jp/reference/system/xpackage/functions/xpackageinstalledcallback.md)
- [XPackage](/ja-jp/reference/system/xpackage/xpackage_members.md)
- [XPackageMountWithUiAsync](/ja-jp/reference/system/xpackage/functions/xpackagemountwithuiasync.md)
- [XVersion](/ja-jp/reference/system/xgameruntimetypes/structs/xversion.md)
