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

# XblInitialize

> XblInitialize

# XblInitialize

Initialise l'instance de la bibliothèque.

## Syntaxe

```cpp theme={null}
HRESULT XblInitialize(  
         const XblInitArgs* args  
)  
```

### Paramètres

*args*   \_In\_\
Type : [XblInitArgs\*](/fr-CA/reference/live/xsapi-c/xbox_live_global_c/structs/xblinitargs)

Arguments propres à la plateforme pour XblInitialize.

### Valeur de retour

Type : HRESULT

Code de retour HRESULT de cette opération d'API.

## Remarques

Cette fonction doit être appelée avant toute autre méthode Xbl\*, à l'exception de XblMemSetFunctions() et XblMemGetFunctions(). Elle doit être associée à un appel correspondant à XblCleanup().

## Configuration requise

**En-tête :** xbox\_live\_global\_c.h

**Bibliothèque :** Microsoft.Xbox.Services.14x.GDK.C.lib

## Voir aussi

[xbox\_live\_global\_c](/fr-CA/reference/live/xsapi-c/xbox_live_global_c/xbox_live_global_c_members)


## Related topics

- [XblInitialize](/reference/live/xsapi-c/xbox_live_global_c/functions/xblinitialize.md)
- [Troubleshooting Sign-in and Sandbox Errors](/services/xbox-services/develop/troubleshooting/live-troubleshoot-sandboxes.md)
- [Solución de problemas de errores de inicio de sesión y sandbox](/es/services/xbox-services/develop/troubleshooting/live-troubleshoot-sandboxes.md)
- [登录和沙盒错误故障排除](/zh-CN/services/xbox-services/develop/troubleshooting/live-troubleshoot-sandboxes.md)
- [XblGetScid](/reference/live/xsapi-c/xbox_live_global_c/functions/xblgetscid.md)
