共用方式為


XblMultiplayerSessionConstantsSetMaxMembersInSession

Sets the maximum number of members in this session.

Syntax

void XblMultiplayerSessionConstantsSetMaxMembersInSession(  
         XblMultiplayerSessionHandle handle,  
         uint32_t maxMembersInSession  
)  

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

maxMembersInSession   
Type: uint32_t

Value to set for max members.

Return value

Type: void

Requirements

Header: multiplayer_c.h

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

See also

multiplayer_c