Skip to main content

XblMultiplayerSessionJoin

Joins the local user to the session, sets the user to active.

Syntax

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle
Handle to the multiplayer session. memberCustomConstantsJson   _In_opt_z_
Type: char*
The custom constants to set for this member. This is the only time the member’s constants can be set. initializeRequested   _In_
Type: bool
True if the system should perform managed initialization, and false otherwise. joinWithActiveStatus   _In_
Type: bool
True if player should join with active status.

Return value

Type: HRESULT HRESULT return code for this API operation.

Requirements

Header: multiplayer_c.h Library: Microsoft.Xbox.Services.14x.GDK.C.lib

Conceptual documentation

See also

multiplayer_c
Last modified on August 4, 2026