Partager via


XblMultiplayerSessionConstantsSetArbitrationTimeouts

Sets the arbitration timeouts for the session. This can only be set when creating a new session.

Syntax

HRESULT XblMultiplayerSessionConstantsSetArbitrationTimeouts(  
         XblMultiplayerSessionHandle handle,  
         uint64_t arbitrationTimeout,  
         uint64_t forfeitTimeout  
)  

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

arbitrationTimeout   _In_
Type: uint64_t

The timeout for arbitration, in milliseconds representing the point at which results are finalized.

forfeitTimeout   _In_
Type: uint64_t

The timeout for forfeit, in milliseconds representing the point at which, if the session has no active users, the match is canceled.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: multiplayer_c.h

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

See also

multiplayer_c