XblMultiplayerSessionAddMemberReservation
Add a new member reservation on the session for the specified xuid and member constants.
Syntax
HRESULT XblMultiplayerSessionAddMemberReservation(
XblMultiplayerSessionHandle handle,
uint64_t xuid,
const char* memberCustomConstantsJson,
bool initializeRequested
)
Parameters
handle _In_
Type: XblMultiplayerSessionHandle
Handle to the multiplayer session.
xuid _In_
Type: uint64_t
The xuid to add a reservation for.
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. (Optional)
initializeRequested _In_
Type: bool
True if the system should perform managed initialization, and false otherwise.
Return value
Type: HRESULT
HRESULT return code for this API operation.
Requirements
Header: multiplayer_c.h
Library: Microsoft.Xbox.Services.141.GSDK.C.lib