XblMultiplayerManagerGameSessionHost
Retrieves member information for the host member in the game session.Syntax
Parameters
hostMember _Out_Type: XblMultiplayerManagerMember* A caller-allocated structure to be populated with member information for the host member.
Return value
Type: HRESULT HRESULT return code for this API operation. Returns__HRESULT_FROM_WIN32(ERROR_NO_SUCH_USER) if a host member doesn’t exist.
Remarks
This function retrieves member information about the member that represents the host for a game session. If a game session doesn’t exist, or if a host member doesn’t exist for the game session, the function returns__HRESULT_FROM_WIN32(ERROR_NO_SUCH_USER). The host member is defined as the user with the lowest index on the host device. The information returned by this function is valid only until XblMultiplayerManagerDoWork is called again.
Requirements
Header: multiplayer_manager_c.h Library: Microsoft.Xbox.Services.14x.GDK.C.libSee also
multiplayer_manager_cXblMultiplayerManagerGameSessionMembers
XblMultiplayerManagerGameSessionIsHost
