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

# XtfRemoveTitleOSFromCacheByVersion

> XtfRemoveTitleOSFromCacheByVersion

# XtfRemoveTitleOSFromCacheByVersion

Quita el Game OS que coincide con el [FourPartVersion](/reference/tools/xtf/xtfapi/structs/fourpartversion-xtfapi-xbox-windows-s) especificado de la caché de la consola.

<a id="syntaxSection" />

## Sintaxis

```cpp theme={null}
HRESULT XtfRemoveTitleOSFromCacheByVersion(
         PCWSTR address,
         FourPartVersion version
)  
```

<a id="parametersSection" />

### Parámetros

*address*<br />Tipo: PCWSTR

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

*version*<br />Tipo: [FourPartVersion](/reference/tools/xtf/xtfapi/structs/fourpartversion-xtfapi-xbox-windows-s)

\[in] El número de versión de cuatro partes del Game OS que se va a quitar.

<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 de la caché de la consola el Game OS que coincide con el `FourPartVersion` especificado. 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. Si intenta quitar un Game OS marcado como sistema operativo de reserva, se produce un error.

Si no 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 [XtfRemoveTitleOSFromCache](/reference/tools/xtf/xtfapi/functions/xtfremovetitleosfromcache-xtfapi-xbox-windows-m) para quitar un Game OS especificando un identificador diferente, como la ruta de acceso completa y el nombre de archivo del archivo GameOs.vxd del Game OS que se va a quitar.

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

- [XtfRemoveTitleOSFromCache](/es/reference/tools/xtf/xtfapi/functions/xtfremovetitleosfromcache-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)
- [FourPartVersion](/es/reference/tools/xtf/xtfapi/structs/fourpartversion-xtfapi-xbox-windows-s.md)
