Skip to main content
Registers for all service call notifications.

Syntax

Parameters

handler   _In_
Type: XblCallRoutedHandler
The event handler function to call. This parameter must not be null. context   _In_opt_
Type: void*
Caller context to be passed back to the handler.

Return value

Type: XblFunctionContext A XblFunctionContext that can be used to unregister the event handler.

Remarks

Call this function after XblInitialize. If the library isn’t initialized or handler is null, the function returns 0 and doesn’t register a handler. To unregister the handler, pass the returned token to XblRemoveServiceCallRoutedHandler.

Requirements

Header: xbox_live_global_c.h Library: Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.lib

See also

xbox_live_global_c
Last modified on October 29, 2026