XblMultiplayerSessionGetRoleByName
Fetches the XblMultiplayerRole object by role type name and role name.Syntax
Parameters
handle _In_Type: XblMultiplayerSessionHandle Handle to the multiplayer session. roleTypeName _In_z_
Type: char* Name of the role type the role belongs to. roleName _In_z_
Type: char* Name of the role. role _Out_
Type: XblMultiplayerRole** Passes back a pointer to the role object with info about the role. The memory for the pointer will remain valid for the life of the XblMultiplayerSessionHandle object until it is closed. If no such role exists, nullptr will be passed back.
