XblMultiplayerSessionRoleTypes
A set of role types associated with this session.
Syntax
HRESULT XblMultiplayerSessionRoleTypes(
XblMultiplayerSessionHandle handle,
const XblMultiplayerRoleType** roleTypes,
size_t* roleTypesCount
)
Parameters
handle _In_
Type: XblMultiplayerSessionHandle
Handle to the multiplayer session.
roleTypes _Out_
Type: XblMultiplayerRoleType**
Passes back a pointer to an array of roleTypes. The memory for the pointer remains valid for the life of the XblMultiplayerSessionHandle object until it is closed.
roleTypesCount _Out_
Type: size_t*
Passes back the number of roles types in the roleTypes array.
Return value
Type: HRESULT
HRESULT return code for this API operation.
Requirements
Header: multiplayer_c.h
Library: Microsoft.Xbox.Services.141.GSDK.C.lib