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

# XblAddServiceCallRoutedHandler

> XblAddServiceCallRoutedHandler

# XblAddServiceCallRoutedHandler

Se registra para todas las notificaciones de llamadas de servicio.

## Sintaxis

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

### Parámetros

*handler*   \_In\_\
Tipo: XblCallRoutedHandler

La función de controlador de eventos a la que se debe llamar.

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

Contexto del autor de la llamada que se devolverá al controlador.

### Valor devuelto

Tipo: XblFunctionContext

Un XblFunctionContext que se puede usar para anular el registro del controlador de eventos.

## Requisitos

**Encabezado:** xbox\_live\_global\_c.h

**Biblioteca:** Microsoft.Xbox.Services.14x.GDK.C.lib

## Consulte también

[xbox\_live\_global\_c](https://docs.xbox.com/es/reference/live/xsapi-c/xbox_live_global_c/xbox_live_global_c_members.md)


## Related topics

- [xbox_live_global_c](https://docs.xbox.com/es/reference/live/xsapi-c/xbox_live_global_c/xbox_live_global_c_members.md)
- [HCAddCallRoutedHandler](https://docs.xbox.com/es/reference/live/httpclient/httpclient/functions/hcaddcallroutedhandler.md)
- [XblRemoveServiceCallRoutedHandler](https://docs.xbox.com/es/reference/live/xsapi-c/xbox_live_global_c/functions/xblremoveservicecallroutedhandler.md)
- [XblServiceCallRoutedArgs](https://docs.xbox.com/es/reference/live/xsapi-c/xbox_live_global_c/structs/xblservicecallroutedargs.md)
- [HCRemoveCallRoutedHandler](https://docs.xbox.com/es/reference/live/httpclient/httpclient/functions/hcremovecallroutedhandler.md)
