XblMultiplayerManagerLobbySessionIsHost

Indicates whether the specified user is the host for the lobby session.

Syntax

bool XblMultiplayerManagerLobbySessionIsHost(  
         uint64_t xuid  
)  

Parameters

xuid   _In_
Type: uint64_t

The Xbox User ID (XUID) of the user.

Return value

Type: bool

Returns true if the XUID is the host of the lobby session; otherwise, false.

Remarks

This function returns false if a lobby session doesn't exist, or if the Xbox User ID (XUID) specified in xuid isn't the host for the lobby session. You can retrieve the host for a lobby session by calling XblMultiplayerManagerLobbySessionHost. For more information, see Multiplayer Manager API overview.

Requirements

Header: multiplayer_manager_c.h

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

See also

multiplayer_manager_c
XblMultiplayerManagerLobbySessionSetSynchronizedHost