XblMultiplayerEventArgsMembersCount

Retrieves additional information for XblMultiplayerEventType::MemberJoined and XblMultiplayerEventType::MemberLeft events.

Syntax

HRESULT XblMultiplayerEventArgsMembersCount(  
         XblMultiplayerEventArgsHandle argsHandle,  
         size_t* memberCount  
)  

Parameters

argsHandle   _In_
Type: XblMultiplayerEventArgsHandle

The event arguments handle for the multiplayer event.

memberCount   _Out_
Type: size_t*

The size of the members caller-allocated array for XblMultiplayerEventArgsMembers.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

Call this function before you call the XblMultiplayerEventArgsMembers function, to return the size of the array you must allocate for the members parameter of the XblMultiplayerEventArgsMembers function.
The event arguments handle for a multiplayer event can be retrieved from the EventArgsHandle member of the XblMultiplayerEvent structure for that multiplayer event.
For more information about multiplayer events, see Multiplayer Manager API overview.

Requirements

Header: multiplayer_manager_c.h

Library: Microsoft.Xbox.Services.141.GSDK.C.lib

See also

multiplayer_manager_c
XblMultiplayerEventArgsFindMatchCompleted
XblMultiplayerEventArgsMember
XblMultiplayerEventArgsMembers
XblMultiplayerEventArgsPerformQosMeasurements
XblMultiplayerEventArgsPropertiesJson
XblMultiplayerEventArgsXuid
XblMultiplayerEventType