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

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

## 構文

```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](/reference/live/xsapi-c/xbox_live_global_c/xbox_live_global_c_members)


## Related topics

- [HCAddCallRoutedHandler](/ja-jp/reference/live/httpclient/httpclient/functions/hcaddcallroutedhandler.md)
- [XblRemoveServiceCallRoutedHandler](/ja-jp/reference/live/xsapi-c/xbox_live_global_c/functions/xblremoveservicecallroutedhandler.md)
- [XblServiceCallRoutedArgs](/ja-jp/reference/live/xsapi-c/xbox_live_global_c/structs/xblservicecallroutedargs.md)
- [HCRemoveCallRoutedHandler](/ja-jp/reference/live/httpclient/httpclient/functions/hcremovecallroutedhandler.md)
- [HCAddWebSocketRoutedHandler](/ja-jp/reference/live/httpclient/httpclient/functions/hcaddwebsocketroutedhandler.md)
