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

# XblAddServiceCallRoutedHandler

> XblAddServiceCallRoutedHandler

# XblAddServiceCallRoutedHandler

S'inscrit à toutes les notifications d'appel de service.

## Syntaxe

```cpp theme={null}
XblFunctionContext XblAddServiceCallRoutedHandler(  
         XblCallRoutedHandler handler,  
         void* context  
)  
```

### Paramètres

*handler*   \_In\_\
Type : XblCallRoutedHandler

Fonction de gestionnaire d'événements à appeler.

*context*   \_In\_opt\_\
Type : void\*

Contexte de l'appelant à retransmettre au gestionnaire.

### Valeur de retour

Type : XblFunctionContext

XblFunctionContext pouvant être utilisé pour désinscrire le gestionnaire d'événements.

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

- [XblAddServiceCallRoutedHandler](/reference/live/xsapi-c/xbox_live_global_c/functions/xbladdservicecallroutedhandler.md)
- [HCAddCallRoutedHandler](/reference/live/httpclient/httpclient/functions/hcaddcallroutedhandler.md)
