Skip to main content

EOS_P2P_GetRelayControl

Function EOS_P2P_GetRelayControl 

Source
pub unsafe extern "C" fn EOS_P2P_GetRelayControl(
    Handle: EOS_HP2P,
    Options: *const EOS_P2P_GetRelayControlOptions,
    OutRelayControl: *mut EOS_ERelayControl,
) -> EOS_EResult
Expand description

Get the current relay control setting.

@param Options Information about what version of the EOS_P2P_GetRelayControl API is supported @param OutRelayControl The relay control setting currently configured @return EOS_EResult containing the result of the operation. Possible result codes:

  • EOS_Success - if the input was valid
  • EOS_InvalidParameters - if the input was invalid in some way

@see EOS_P2P_GetRelayControlOptions @see EOS_ERelayControl