> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblContextCreateHandle

> XblContextCreateHandle

# XblContextCreateHandle

Crée un XblContextHandle utilisé pour accéder aux services XBOX Live.

## Syntaxe

```cpp theme={null}
HRESULT XblContextCreateHandle(  
         XblUserHandle user,  
         XblContextHandle* context  
)  
```

### Paramètres

*user*   \_In\_\
Type : XblUserHandle

L'utilisateur associé à ce contexte XBOX Live.

*context*   \_Out\_\
Type : [XblContextHandle\*](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/types_c/handles/xblcontexthandle.md)

Renvoie le handle de contexte XBOX Live.

### Valeur de retour

Type : HRESULT

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

## Configuration requise

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

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

## Voir aussi

[xbox\_live\_context\_c](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/xbox_live_context_c/xbox_live_context_c_members.md)


## Related topics

- [XblAchievementsRemoveAchievementProgressChangeHandler](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/achievements_c/functions/xblachievementsremoveachievementprogresschangehandler.md)
- [XblPrivacyRemoveBlockListChangedHandler](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/privacy_c/functions/xblprivacyremoveblocklistchangedhandler.md)
- [XblPrivacyRemoveMuteListChangedHandler](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/privacy_c/functions/xblprivacyremovemutelistchangedhandler.md)
- [XblSocialRemoveSocialRelationshipChangedHandler](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/social_c/functions/xblsocialremovesocialrelationshipchangedhandler.md)
- [xbox_live_context_c](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/xbox_live_context_c/xbox_live_context_c_members.md)
