XblMultiplayerSessionSetLocked

Sets if a session is locked or not. If locked, members that leave the session will be able to come back into the session, allowing no additional users to take that spot.

Syntax

void XblMultiplayerSessionSetLocked(  
         XblMultiplayerSessionHandle handle,  
         bool locked  
)  

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

locked   _In_
Type: bool

Set true, if the session should be lock, false otherwise.

Return value

Type: void

Remarks

If the session is locked, it must also be set to closed.

Requirements

Header: multiplayer_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

multiplayer_c