Freigeben über


XblMultiplayerManagerLobbySessionLocalMembers

Retrieves member information for the local members in the lobby session.

Syntax

HRESULT XblMultiplayerManagerLobbySessionLocalMembers(  
         size_t localMembersCount,  
         XblMultiplayerManagerMember* localMembers  
)  

Parameters

localMembersCount   _In_
Type: size_t

The size of the localMembers array. The required size can be obtained by calling XblMultiplayerManagerLobbySessionLocalMembersCount.

localMembers   _Out_writes_(localMembersCount)
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 that is local to the device. You can also call the XblMultiplayerManagerLobbySessionMembers function to return member information for all members in the lobby session.
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
XblMultiplayerManagerLobbySessionMembersCount