XblMultiplayerManagerInitialize
Initializes Multiplayer Manager (MPM).
Syntax
HRESULT XblMultiplayerManagerInitialize(
const char* lobbySessionTemplateName,
XTaskQueueHandle asyncQueue
)
Parameters
lobbySessionTemplateName _In_z_
Type: char*
The name of the session template for the lobby session to be based on.
asyncQueue _In_opt_
Type: XTaskQueueHandle
The task queue where all Multiplayer Manager work should be scheduled.
Return value
Type: HRESULT
HRESULT return code for this API operation.
Remarks
This function initializes the lobby session with which Multiplayer Manager (MPM) interacts, based on a session template configured for the title. You must call this function before calling other MPM functions, otherwise errors may occur. For more information about configuring session templates, see Configuring the Multiplayer service.
Requirements
Header: multiplayer_manager_c.h
Library: Microsoft.Xbox.Services.14x.GDK.C.lib