Compartir a través de


XblMultiplayerSessionCurrentUserSetMembersInGroup

Set a collection of members in the group. The member must first be joined to the session.

Syntax

HRESULT XblMultiplayerSessionCurrentUserSetMembersInGroup(  
         XblMultiplayerSessionHandle session,  
         uint32_t* memberIds,  
         size_t memberIdsCount  
)  

Parameters

session   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

memberIds   _In_reads_(memberIdsCount)
Type: uint32_t*

Array of memberIds that are in the local users group.

memberIdsCount   _In_
Type: size_t

Size of the memberIds array.

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