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

すべてのサービス呼び出し通知を登録します。

## 構文

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

### パラメーター

*handler*   \_In\_\
型: XblCallRoutedHandler

呼び出すイベント ハンドラー関数。

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

ハンドラーに渡し戻される呼び出し元のコンテキスト。

### 戻り値

型: XblFunctionContext

イベント ハンドラーの登録解除に使用できる XblFunctionContext。

## 要件

**ヘッダー:** xbox\_live\_global\_c.h

**ライブラリ:** Microsoft.Xbox.Services.14x.GDK.C.lib

## 関連項目

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


## Related topics

- [Multiplayer Session Directory](https://docs.xbox.com/ja-jp/services/xbox-services/multiplayer/mpsd/live-xbox-multiplayer-session-directory.md)
- [xbox_live_global_c](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/xbox_live_global_c/xbox_live_global_c_members.md)
- [HCAddCallRoutedHandler](https://docs.xbox.com/ja-jp/reference/live/httpclient/httpclient/functions/hcaddcallroutedhandler.md)
- [XblRemoveServiceCallRoutedHandler](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/xbox_live_global_c/functions/xblremoveservicecallroutedhandler.md)
- [XblServiceCallRoutedArgs](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/xbox_live_global_c/structs/xblservicecallroutedargs.md)
