Partager via


XblMultiplayerSessionConstantsSetMemberInitialization

If a 'memberInitialization' object is set, the session expects the client system or title to perform initialization following session creation and/or as new members join the session. This can only be set when creating a new session.

Syntax

HRESULT XblMultiplayerSessionConstantsSetMemberInitialization(  
         XblMultiplayerSessionHandle handle,  
         XblMultiplayerMemberInitialization memberInitialization  
)  

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

memberInitialization   _In_
Type: XblMultiplayerMemberInitialization

Object specifying member initialization parameters.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

The timeouts and initialization stages are automatically tracked by the session, including QoS measurements if any metrics are set. These timeouts override the session's reservation and ready timeouts for members that have 'initializationEpisode' set.

Requirements

Header: multiplayer_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

multiplayer_c