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

# XtfGetTitleOSFourPartVersion

> XtfGetTitleOSFourPartVersion

# XtfGetTitleOSFourPartVersion

Obtiene información de versión sobre el Game OS del título actualmente en ejecución.

<a id="syntaxSection" />

## Sintaxis

```cpp theme={null}
HRESULT XtfGetTitleOSFourPartVersion(
         PCWSTR address,
         UINT32* flags,
         FourPartVersion* version
)
```

<a id="parametersSection" />

### Parámetros

*address*<br />Tipo: PCWSTR

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

*flags*<br />Tipo: UINT32\*

\[out] Una combinación OR bit a bit de marcas que proporcionan información adicional sobre el Game OS. Este parámetro admite las siguientes marcas:

| Marca | Valor | Descripción |
\| --- | --- | --- |
\| XTF\_CACHED\_TITLE\_OS\_IS\_FALLBACK | 0x0001 | Indica que este Game OS es el sistema operativo de reserva, que no se puede eliminar ni reemplazar. |

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

\[out] El número de versión de cuatro partes del Game OS.

<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 devolver información de versión sobre el Game OS del título actualmente en ejecución. Si no hay ningún Game OS en ejecución en ese momento, se produce un error. También puede usar la función [XtfGetCachedTitleOSVersions](/reference/tools/xtf/xtfapi/functions/xtfgetcachedtitleosversions-xtfapi-xbox-windows-m) para devolver información de versión sobre otras versiones del Game OS almacenadas en caché en la consola. 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 />[XtfGetPackageFullName](/reference/tools/xtf/xtfapi/functions/xtfgetpackagefullname-xtfapi-xbox-windows-m)<br />[XtfGetAumid](/reference/tools/xtf/xtfapi/functions/xtfgetaumid-xtfapi-xbox-windows-m)<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

- [FourPartVersion](/es/reference/tools/xtf/xtfapi/structs/fourpartversion-xtfapi-xbox-windows-s.md)
- [XtfStartTitleOSByVersion](/es/reference/tools/xtf/xtfapi/functions/xtfstarttitleosbyversion-xtfapi-xbox-windows-m.md)
- [XtfRemoveTitleOSFromCacheByVersion](/es/reference/tools/xtf/xtfapi/functions/xtfremovetitleosfromcachebyversion-xtfapi-xbox-windows-m.md)
- [XtfStartTitleOS](/es/reference/tools/xtf/xtfapi/functions/xtfstarttitleos-xtfapi-xbox-windows-m.md)
- [XtfRemoveTitleOSFromCache](/es/reference/tools/xtf/xtfapi/functions/xtfremovetitleosfromcache-xtfapi-xbox-windows-m.md)
