XblMultiplayerSearchHandleGetMemberCounts

Get the current and max number of members in the associated session.

Syntax

HRESULT XblMultiplayerSearchHandleGetMemberCounts(  
         XblMultiplayerSearchHandle handle,  
         size_t* maxMembers,  
         size_t* currentMembers  
)  

Parameters

handle   _In_
Type: XblMultiplayerSearchHandle

Handle to the search handle details.

maxMembers   _Out_opt_
Type: size_t*

Passes back the max members allowed in session.

currentMembers   _Out_opt_
Type: size_t*

Passes back the current number of members in session.

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