Skip to main content
Get the current and max number of members in the associated session.

Syntax

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.142.C.lib or Microsoft.Xbox.Services.143.C.lib

See also

multiplayer_c
Last modified on October 29, 2026