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

# XtfGetCachedTitleOSVersions

> XtfGetCachedTitleOSVersions

# XtfGetCachedTitleOSVersions

Obtient les informations de version de chaque Game OS mis en cache sur la console.

<a id="syntaxSection" />

## Syntaxe

```cpp theme={null}
HRESULT XtfGetCachedTitleOSVersions(
         PCWSTR address,
         XtfGetCachedTitleOSVersionsCallback clientCallback,
         PVOID context
)  
```

<a id="parametersSection" />

### Paramètres

*address*<br />Type : PCWSTR

\[in] Adresse de la console.

*clientCallback*<br />Type : [XtfGetCachedTitleOSVersionsCallback](/fr/reference/tools/xtf/xtfapi/functions/xtfgetcachedtitleosversionscallback-xtfapi-xbox-windows-m)

\[in] Rappel à invoquer pour chaque Game OS présent dans le cache sur la console.

*context*<br />Type : PVOID

\[in, optional] Pointeur vers un objet de contexte, à passer au rappel.

<a id="retvalSection" />

### Valeur renvoyée

Type : HRESULT

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

<a id="remarksSection" />

## Remarques

Utilisez cette fonction, avec une fonction [XtfGetCachedTitleOSVersionsCallback](/fr/reference/tools/xtf/xtfapi/functions/xtfgetcachedtitleosversionscallback-xtfapi-xbox-windows-m), pour obtenir les informations de version de chaque Game OS mis en cache sur la console. Pour chaque Game OS présent dans le cache, la fonction de rappel fournit une [FourPartVersion](/fr/reference/tools/xtf/xtfapi/structs/fourpartversion-xtfapi-xbox-windows-s) contenant le numéro de version en quatre parties, ainsi que des informations supplémentaires sur ce Game OS.

Vous pouvez ajouter un Game OS au cache sur la console en appelant la fonction [XtfCacheTitleOS](/fr/reference/tools/xtf/xtfapi/functions/xtfcachetitleos-xtfapi-xbox-windows-m), ou supprimer un Game OS existant du cache en appelant les fonctions [XtfRemoveTitleOSFromCache](/fr/reference/tools/xtf/xtfapi/functions/xtfremovetitleosfromcache-xtfapi-xbox-windows-m) ou [XtfRemoveTitleOSFromCacheByVersion](/fr/reference/tools/xtf/xtfapi/functions/xtfremovetitleosfromcachebyversion-xtfapi-xbox-windows-m). Pour plus d'informations sur la gestion des fichiers Game OS provisionnés, consultez [Gestion des applications (xbapp.exe) (rubrique sous NDA)](/fr/tools/tools-console/commandlinetools/xbapp) et [Provisionnement (xbprovision.exe) (rubrique sous NDA)](/fr/tools/tools-console/commandlinetools/xbprovision).

<a id="requirementsSection" />

## Configuration requise

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

**Bibliothèque :** XtfApi.lib

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

<a id="seealsoSection" />

## Voir aussi

[Déploiement Run from PC (rubrique sous NDA)](/fr/home/setup-install/concepts/deployment)<br />[Erreurs de transport XTF (rubrique sous NDA)](/fr/tools/tools-console/commandlinetools/xtf-transport-errors)<br />[API Xtf supplémentaires](/fr/reference/tools/xtf/xtfapi/atoc-xtfapi)


## Related topics

- [XtfGetCachedTitleOSVersions](/reference/tools/xtf/xtfapi/functions/xtfgetcachedtitleosversions-xtfapi-xbox-windows-m.md)
- [XtfGetCachedTitleOSVersionsCallback](/reference/tools/xtf/xtfapi/functions/xtfgetcachedtitleosversionscallback-xtfapi-xbox-windows-m.md)
