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

# XPackageMount

> [DEPRECATED] XPackageMount

# \[DEPRECATED] XPackageMount

> [!NOTE]
>
> この関数は非推奨になりました。代わりに [XPackageMountWithUiAsync](https://docs.xbox.com/ja-jp/reference/system/xpackage/functions/xpackagemountwithuiasync.md) を使用してください。

指定されたコンテンツのインストールをマウントし、そのマウント ハンドルを返します。

## Syntax

```cpp theme={null}
HRESULT XPackageMount(  
         const char* packageIdentifier,  
         XPackageMountHandle* mount  
)  
```

## Requirements

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

**ライブラリ:** xgameruntime.lib

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

## Conceptual documentation

* [GDK ダウンロード可能コンテンツ (DLC) パッケージ](https://docs.xbox.com/ja-jp/build/core-features/common/packaging/packaging-downloadable-content-dlc.md)
* [XBOX 本体のローカル ストレージ](https://docs.xbox.com/ja-jp/build/console-features/storage/local-storage.md)
* [タイム センシティブ スレッド](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)

## See also

[XPackageMountWithUiAsync](https://docs.xbox.com/ja-jp/reference/system/xpackage/functions/xpackagemountwithuiasync.md)


## Related topics

- [XPackageCloseMountHandle](https://docs.xbox.com/ja-jp/reference/system/xpackage/functions/xpackageclosemounthandle.md)
- [GDK のダウンロード可能コンテンツ (DLC) パッケージ](https://docs.xbox.com/ja-jp/build/core-features/common/packaging/packaging-downloadable-content-dlc.md)
- [XPackage (API の内容)](https://docs.xbox.com/ja-jp/reference/system/xpackage/xpackage_members.md)
- [Unity プロジェクトでの GDK API 用 C# ラッパーの使用](https://docs.xbox.com/ja-jp/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XPackageMountWithUiAsync](https://docs.xbox.com/ja-jp/reference/system/xpackage/functions/xpackagemountwithuiasync.md)
