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

> [!NOTE]
>
> This function is now deprecated. Use [XPackageMountWithUiAsync](https://docs.xbox.com/reference/system/xpackage/functions/xpackagemountwithuiasync.md) instead.

Mounts the installation of specified content, and returns a mount handle to it.

## Syntax

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

## Requirements

**Header:** XPackage.h

**Library:** xgameruntime.lib

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

## Conceptual documentation

* [GDK downloadable content (DLC) packages](https://docs.xbox.com/build/core-features/common/packaging/packaging-downloadable-content-dlc.md)
* [Local storage on XBOX console](https://docs.xbox.com/build/console-features/storage/local-storage.md)
* [Time-sensitive threads](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)

## See also

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


## Related topics

- [XPackageCloseMountHandle](https://docs.xbox.com/reference/system/xpackage/functions/xpackageclosemounthandle.md)
- [GDK downloadable content (DLC) packages](https://docs.xbox.com/build/core-features/common/packaging/packaging-downloadable-content-dlc.md)
- [Local storage on Xbox console](https://docs.xbox.com/build/console-features/storage/local-storage.md)
- [XPackage (API contents)](https://docs.xbox.com/reference/system/xpackage/xpackage_members.md)
- [Using C# wrappers for GDK APIs in your Unity project](https://docs.xbox.com/build/gdk-and-engines/unity/unity-api-wrappers.md)
