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

> [DÉCONSEILLÉ] XPackageMount

# \[DÉCONSEILLÉ] XPackageMount

> [!NOTE]
>
> Cette fonction est désormais déconseillée. Utilisez plutôt [XPackageMountWithUiAsync](https://docs.xbox.com/fr/reference/system/xpackage/functions/xpackagemountwithuiasync.md).

Monte l'installation du contenu spécifié et renvoie un handle de montage vers celui-ci.

## Syntaxe

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

## Configuration requise

**En-tête :** XPackage.h

**Bibliothèque :** xgameruntime.lib

**Plateformes prises en charge :** Windows, consoles de la famille XBOX One et consoles XBOX Series

## Documentation conceptuelle

* [Packages de contenu téléchargeable (DLC) du GDK](https://docs.xbox.com/fr/build/core-features/common/packaging/packaging-downloadable-content-dlc.md)
* [Stockage local sur la console XBOX](https://docs.xbox.com/fr/build/console-features/storage/local-storage.md)
* [Threads urgents](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)

## Voir aussi

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


## Related topics

- [XPackageCloseMountHandle](https://docs.xbox.com/fr/reference/system/xpackage/functions/xpackageclosemounthandle.md)
- [Packages de contenu téléchargeable (DLC) du GDK](https://docs.xbox.com/fr/build/core-features/common/packaging/packaging-downloadable-content-dlc.md)
- [Stockage local sur la console Xbox](https://docs.xbox.com/fr/build/console-features/storage/local-storage.md)
- [XPackage (contenu de l'API)](https://docs.xbox.com/fr/reference/system/xpackage/xpackage_members.md)
- [Utilisation des wrappers C# pour les API GDK dans votre projet Unity](https://docs.xbox.com/fr/build/gdk-and-engines/unity/unity-api-wrappers.md)
