XblMultiplayerSessionSetClosed

If set to true, makes the session "closed", meaning that new users will not be able to join unless they already have a reservation.

Syntax

void XblMultiplayerSessionSetClosed(  
         XblMultiplayerSessionHandle handle,  
         bool closed  
)  

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

closed   _In_
Type: bool

True if the session should be closed, false otherwise.

Return value

Type: void

Requirements

Header: multiplayer_c.h

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

See also

multiplayer_c