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

Anula el registro de un paquete implementado en la unidad de trabajo del título.

## Sintaxis

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

### Parámetros

*address*\
Tipo: LPCWSTR

\[in] La dirección de la consola.

*packageFullName*\
Tipo: LPCWSTR

\[in] El nombre completo del paquete cuyo registro se va a anular.

### Valor devuelto

Tipo: HRESULT

Devuelve `S_OK` si se ejecuta correctamente; de lo contrario, devuelve un código de error HRESULT.

## Comentarios

Esta función anula el registro de un paquete implementado en la unidad de trabajo del título, como un paquete implementado anteriormente mediante la función [XtfRegisterPackage](https://docs.xbox.com/es/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m.md). Esta función anula el registro y quita todas las aplicaciones asociadas al paquete especificado.

Para obtener más información sobre la administración de aplicaciones, consulte [Administración de aplicaciones (xbapp.exe) (tema con NDA)](https://docs.xbox.com/es/tools/tools-console/commandlinetools/xbapp.md).

## Requisitos

**Encabezado:** xtfapi.h

**Biblioteca:** XtfApi.lib

**Plataformas compatibles:** Windows (para las herramientas de consola XBOX)

## Consulte también

[XtfRegisterPackage](https://docs.xbox.com/es/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m.md)\
[Errores de transporte de XTF (tema con NDA)](https://docs.xbox.com/es/tools/tools-console/commandlinetools/xtf-transport-errors.md)


## Related topics

- [XtfRegisterPackage](https://docs.xbox.com/es/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m.md)
- [API de Xtf adicionales (contenido de la API)](https://docs.xbox.com/es/reference/tools/xtf/xtfapi/atoc-xtfapi.md)
- [XtfPullUnregisterApp](https://docs.xbox.com/es/reference/tools/xtf/xtfapi/functions/xtfpullunregisterapp-xtfapi-xbox-windows-m.md)
- [XPackageUnregisterPackageInstalled](https://docs.xbox.com/es/reference/system/xpackage/functions/xpackageunregisterpackageinstalled.md)
- [XtfRegisterPackageOnDrive](https://docs.xbox.com/es/reference/tools/xtf/xtfapi/functions/xtfregisterpackageondrive-xtfapi-xbox-windows-m.md)
