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

# [已淘汰] XPackageMount

> [已淘汰] XPackageMount

# \[已淘汰] XPackageMount

<Note>此函式現已淘汰。請改用 [XPackageMountWithUiAsync](/zh-TW/reference/system/xpackage/functions/xpackagemountwithuiasync)。</Note>

掛接指定內容的安裝，並傳回其掛接控制代碼。

## 語法

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

## 需求

**標頭：** XPackage.h

**程式庫：** xgameruntime.lib

**支援的平台：** Windows、XBOX One 系列主機和 XBOX Series 主機

## 概念文件

* [GDK 可下載內容 (DLC) 套件](/zh-TW/build/core-features/common/packaging/packaging-downloadable-content-dlc)
* [XBOX 主機上的本機儲存體](/zh-TW/build/console-features/storage/local-storage)
* [時間敏感的執行緒](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)

## 另請參閱

[XPackageMountWithUiAsync](/zh-TW/reference/system/xpackage/functions/xpackagemountwithuiasync)


## Related topics

- [[DEPRECATED] XPackageMount](/reference/system/xpackage/functions/xpackagemount.md)
- [[EN DESUSO] XPackageMount](/es/reference/system/xpackage/functions/xpackagemount.md)
- [XPackageMountWithUiAsync](/reference/system/xpackage/functions/xpackagemountwithuiasync.md)
- [XPackageMountWithUiResult](/reference/system/xpackage/functions/xpackagemountwithuiresult.md)
- [XPackageCloseMountHandle](/reference/system/xpackage/functions/xpackageclosemounthandle.md)
