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

# XtfStartTitleOSByGameConfig

> XtfStartTitleOSByGameConfig

# XtfStartTitleOSByGameConfig

Démarre ou redémarre le Game OS en fonction du contenu d'un fichier MicrosoftGame.config stocké en mémoire sous forme de chaîne.

<a id="syntaxSection" />

## Syntaxe

```cpp theme={null}
HRESULT XtfStartTitleOSByGameConfig(
         PCWSTR address,
         UINT32 flags,
         PCWSTR gameconfigContents
)  
```

<a id="parametersSection" />

### Paramètres

*address*\
Type : PCWSTR

\[in] Adresse IP de la console.

*flags*\
Type : UINT32

\[in] Actuellement inutilisé, mais réservé à de futures modifications de comportement.

*gameconfigContents*\
Type : PCWSTR

\[in] Contenu d'un fichier MicrosoftGame.config.

<a id="retvalSection" />

### Valeur de retour

Type : HRESULT

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

<a id="remarksSection" />

## Remarques

Utilisez cette fonction pour démarrer ou redémarrer le Game OS en fonction du contenu d'un fichier MicrosoftGame.config stocké en mémoire sous forme de chaîne. Si aucune valeur n'est spécifiée pour `address` ou `gameconfigContents`, une erreur se produit.

Pour plus d'informations sur le contenu d'un fichier MicrosoftGame.config, consultez [Vue d'ensemble de MicrosoftGame.config](/fr/build/core-features/common/game-config/MicrosoftGameConfig-Overview).

<a id="requirements" />

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

[Erreurs de transport XTF (rubrique NDA)](/fr/tools/tools-console/commandlinetools/xtf-transport-errors)\
[API Xtf supplémentaires](/fr/reference/tools/xtf/xtfapi/atoc-xtfapi)


## Related topics

- [XtfStartTitleOSByGameConfig](/reference/tools/xtf/xtfapi/functions/xtfstarttitleosbygameconfig-xtfapi-xbox-windows-m.md)
- [XtfStartTitleOS](/reference/tools/xtf/xtfapi/functions/xtfstarttitleos-xtfapi-xbox-windows-m.md)
- [XtfStartTitleOSByVersion](/reference/tools/xtf/xtfapi/functions/xtfstarttitleosbyversion-xtfapi-xbox-windows-m.md)
