Compartir a través de


XblMultiplayerSessionConstantsSetPeerToHostRequirements

These thresholds apply to each connection from a host candidate. This can only be set when creating a new session.

Syntax

HRESULT XblMultiplayerSessionConstantsSetPeerToHostRequirements(  
         XblMultiplayerSessionHandle handle,  
         XblMultiplayerPeerToHostRequirements requirements  
)  

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

requirements   _In_
Type: XblMultiplayerPeerToHostRequirements

Object specifying the peer to host requirements for the session.

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