XblMultiplayerSessionSetHostDeviceToken

Sets the device token of the host.

Syntax

void XblMultiplayerSessionSetHostDeviceToken(  
         XblMultiplayerSessionHandle handle,  
         XblDeviceToken hostDeviceToken  
)  

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

hostDeviceToken   _In_
Type: XblDeviceToken

The host device token.

Return value

Type: void

Remarks

If "peerToHostRequirements" is set and this is set, the measurement stage assumes the given host is the correct host and only measures metrics to that host.

Requirements

Header: multiplayer_c.h

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

See also

multiplayer_c