XblMultiplayerSessionConstantsSetCapabilities

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

Syntax

HRESULT XblMultiplayerSessionConstantsSetCapabilities(  
         XblMultiplayerSessionHandle handle,  
         XblMultiplayerSessionCapabilities capabilities  
)  

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.14x.GDK.C.lib

See also

multiplayer_c