XblMultiplayerManagerMemberAreMembersOnSameDevice

Determines whether two members are on the same device.

Syntax

bool XblMultiplayerManagerMemberAreMembersOnSameDevice(  
         const XblMultiplayerManagerMember* first,  
         const XblMultiplayerManagerMember* second  
)  

Parameters

first   _In_
Type: XblMultiplayerManagerMember*

The first member.

second   _In_
Type: XblMultiplayerManagerMember*

The second member.

Return value

Type: bool

Returns true if both members are on the same device, false if both members are not on the same device.

Remarks

This function compares the device tokens of both members. If the device tokens match, both members are on the same device. For more information, see XblDeviceToken.

Requirements

Header: multiplayer_manager_c.h

Library: Microsoft.Xbox.Services.141.GSDK.C.lib

See also

multiplayer_manager_c