Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Set the role info of the local member. The member must first be joined to the session.
Syntax
HRESULT XblMultiplayerSessionCurrentUserSetRoles(
XblMultiplayerSessionHandle handle,
const XblMultiplayerSessionMemberRole* roles,
size_t rolesCount
)
Parameters
handle _In_
Type: XblMultiplayerSessionHandle
Handle to the multiplayer session.
roles _In_
Type: XblMultiplayerSessionMemberRole*
Indicates a collection of roles for the user.
rolesCount _In_
Type: size_t
The size of the role 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