Compartir a través de


XblMultiplayerManagerLobbySessionMembers

Retrieves member information for the members in the lobby session.

Syntax

HRESULT XblMultiplayerManagerLobbySessionMembers(  
         size_t membersCount,  
         XblMultiplayerManagerMember* members  
)  

Parameters

membersCount   _In_
Type: size_t

The size of the members array. The required size can be obtained by calling XblMultiplayerManagerLobbySessionMembersCount.

members   _Out_writes_(membersCount)
Type: XblMultiplayerManagerMember*

A caller-allocated XblMultiplayerManagerMember array to write into.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

This function returns member information for each member in the lobby session. You can also call the XblMultiplayerManagerLobbySessionLocalMembers function to return member information for each member in the lobby session that is local to the device.
The member information returned by this function is valid only until XblMultiplayerManagerDoWork is called again.

Requirements

Header: multiplayer_manager_c.h

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

See also

multiplayer_manager_c
XblMultiplayerManagerLobbySessionLocalMembersCount