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

# XtfUnregisterPackage

> XtfUnregisterPackage

# XtfUnregisterPackage

Désinscrit un package déployé sur le lecteur de travail du titre.

## Syntaxe

```cpp theme={null}
HRESULT XtfUnregisterPackage(
         LPCWSTR address,
         LPCWSTR packageFullName
)  
```

### Paramètres

*address*\
Type : LPCWSTR

\[in] L'adresse de la console.

*packageFullName*\
Type : LPCWSTR

\[in] Le nom complet du package à désinscrire.

### Valeur de retour

Type : HRESULT

Retourne `S_OK` en cas de réussite ; sinon, retourne un code d'erreur HRESULT.

## Remarques

Cette fonction désinscrit un package déployé sur le lecteur de travail du titre, par exemple un package précédemment déployé par la fonction [XtfRegisterPackage](https://docs.xbox.com/fr/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m.md). Cette fonction désinscrit et supprime toutes les applications associées au package spécifié.

Pour plus d'informations sur la gestion des applications, consultez [Gestion des applications (xbapp.exe) (rubrique sous NDA)](https://docs.xbox.com/fr/tools/tools-console/commandlinetools/xbapp.md).

## Configuration requise

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

**Bibliothèque :** XtfApi.lib

**Plateformes prises en charge :** Windows (pour les outils de console XBOX)

## Voir aussi

[XtfRegisterPackage](https://docs.xbox.com/fr/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m.md)\
[Erreurs de transport XTF (rubrique sous NDA)](https://docs.xbox.com/fr/tools/tools-console/commandlinetools/xtf-transport-errors.md)


## Related topics

- [XtfRegisterPackage](https://docs.xbox.com/fr/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m.md)
- [API Xtf supplémentaires (contenu de l'API)](https://docs.xbox.com/fr/reference/tools/xtf/xtfapi/atoc-xtfapi.md)
- [XtfPullUnregisterApp](https://docs.xbox.com/fr/reference/tools/xtf/xtfapi/functions/xtfpullunregisterapp-xtfapi-xbox-windows-m.md)
- [XPackageUnregisterPackageInstalled](https://docs.xbox.com/fr/reference/system/xpackage/functions/xpackageunregisterpackageinstalled.md)
- [XPackageUnregisterInstallationProgressChanged](https://docs.xbox.com/fr/reference/system/xpackage/functions/xpackageunregisterinstallationprogresschanged.md)
