Skip to main content
Sets the capabilities constants for the session. This can only be set when creating a new session.

Syntax

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle
Handle to the multiplayer session. capabilities   _In_
Type: XblMultiplayerSessionCapabilities
A collection of MultiplayerSessionCapabilities flags that apply to the MultiplayerSessionConstant’s capabilities JSON object.

Return value

Type: HRESULT HRESULT return code for this API operation.

Requirements

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

See also

multiplayer_c
Last modified on October 29, 2026