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

# XtfRemoveTitleOSFromCache

> XtfRemoveTitleOSFromCache

# XtfRemoveTitleOSFromCache

Quita un Game OS de la caché de la consola.

<a id="syntaxSection" />

## Sintaxis

```cpp theme={null}
HRESULT XtfRemoveTitleOSFromCache(
         PCWSTR address,
         PCWSTR osIdentifier
)  
```

<a id="parametersSection" />

### Parámetros

*address*<br />Tipo: PCWSTR

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

*osIdentifier*<br />Tipo: PCWSTR

\[in] El identificador del sistema operativo que se va a quitar. Este identificador puede ser uno de los siguientes:

* La ruta de acceso completa y el nombre de archivo de un archivo MicrosoftGame.config que contiene el número de versión de cuatro partes de la versión del Game OS que se va a quitar
* La ruta de acceso completa y el nombre de archivo de un archivo GameOs.xvd
* La ruta de acceso completa a un directorio que contiene un archivo MicrosoftGame.config o GameOS.vxd
* El número de versión de cuatro partes del Game OS que se va a quitar

Ejemplos de identificadores válidos:

* D:\MyGame
* \MyDevPC\share\MyGame\MicrosoftGame.config
* xd:\Titles\MyGamePFN\GameOs.xvd
* 10.0.18236.1002

<a id="retvalSection" />

### Valor devuelto

Tipo: HRESULT

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

<a id="remarksSection" />

## Comentarios

Use esta función para administrar los archivos aprovisionados del Game OS quitando el Game OS especificado de la caché de la consola. Si intenta quitar un Game OS marcado como sistema operativo de reserva, se produce un error.

Si tiene un [FourPartVersion](/reference/tools/xtf/xtfapi/structs/fourpartversion-xtfapi-xbox-windows-s) para el Game OS que quiere quitar, use en su lugar la función [XtfRemoveTitleOSFromCacheByVersion](/reference/tools/xtf/xtfapi/functions/xtfremovetitleosfromcachebyversion-xtfapi-xbox-windows-m) para quitar esa versión del Game OS. Puede usar la función [XtfGetCachedTitleOSVersions](/reference/tools/xtf/xtfapi/functions/xtfgetcachedtitleosversions-xtfapi-xbox-windows-m) para obtener el `FourPartVersion` de cada Game OS almacenado en caché en la consola, o la función [XtfGetTitleOSFourPartVersion](/reference/tools/xtf/xtfapi/functions/xtfgettitleosfourpartversion-xtfapi-xbox-windows-m) para obtener el `FourPartVersion` del Game OS del título actualmente en ejecución.

También puede agregar un Game OS a la caché de la consola llamando a la función [XtfCacheTitleOS](/reference/tools/xtf/xtfapi/functions/xtfcachetitleos-xtfapi-xbox-windows-m). Para obtener más información sobre la administración de archivos aprovisionados del Game OS, consulte [Administración de aplicaciones (xbapp.exe) (tema con NDA)](/tools/tools-console/commandlinetools/xbapp) y [Aprovisionamiento (xbprovision.exe) (tema con NDA)](/tools/tools-console/commandlinetools/xbprovision).

<a id="requirementsSection" />

## Requisitos

**Encabezado:** xtfapi.h

**Biblioteca:** XtfApi.lib

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

<a id="seealsoSection" />

## Consulte también

[Implementación de ejecución desde PC (tema con NDA)](/home/setup-install/concepts/deployment)<br />[Errores de transporte de XTF (tema con NDA)](/tools/tools-console/commandlinetools/xtf-transport-errors)<br />[API de Xtf adicionales](/reference/tools/xtf/xtfapi/atoc-xtfapi)


## Related topics

- [XtfRemoveTitleOSFromCacheByVersion](/es/reference/tools/xtf/xtfapi/functions/xtfremovetitleosfromcachebyversion-xtfapi-xbox-windows-m.md)
- [XtfCacheTitleOS](/es/reference/tools/xtf/xtfapi/functions/xtfcachetitleos-xtfapi-xbox-windows-m.md)
- [XtfGetCachedTitleOSVersions](/es/reference/tools/xtf/xtfapi/functions/xtfgetcachedtitleosversions-xtfapi-xbox-windows-m.md)
- [XtfGetCachedTitleOSVersionsCallback](/es/reference/tools/xtf/xtfapi/functions/xtfgetcachedtitleosversionscallback-xtfapi-xbox-windows-m.md)
- [XtfStartTitleOS](/es/reference/tools/xtf/xtfapi/functions/xtfstarttitleos-xtfapi-xbox-windows-m.md)
