pub trait INetFwMgr_Impl: Sized + IDispatch_Impl {
    // Required methods
    fn LocalPolicy(&self) -> Result<INetFwPolicy>;
    fn CurrentProfileType(&self) -> Result<NET_FW_PROFILE_TYPE>;
    fn RestoreDefaults(&self) -> Result<()>;
    fn IsPortAllowed(
        &self,
        imagefilename: &BSTR,
        ipversion: NET_FW_IP_VERSION,
        portnumber: i32,
        localaddress: &BSTR,
        ipprotocol: NET_FW_IP_PROTOCOL,
        allowed: *mut VARIANT,
        restricted: *mut VARIANT
    ) -> Result<()>;
    fn IsIcmpTypeAllowed(
        &self,
        ipversion: NET_FW_IP_VERSION,
        localaddress: &BSTR,
        type: u8,
        allowed: *mut VARIANT,
        restricted: *mut VARIANT
    ) -> Result<()>;
}

Required Methods§

fn LocalPolicy(&self) -> Result<INetFwPolicy>

fn CurrentProfileType(&self) -> Result<NET_FW_PROFILE_TYPE>

fn RestoreDefaults(&self) -> Result<()>

fn IsPortAllowed( &self, imagefilename: &BSTR, ipversion: NET_FW_IP_VERSION, portnumber: i32, localaddress: &BSTR, ipprotocol: NET_FW_IP_PROTOCOL, allowed: *mut VARIANT, restricted: *mut VARIANT ) -> Result<()>

fn IsIcmpTypeAllowed( &self, ipversion: NET_FW_IP_VERSION, localaddress: &BSTR, type: u8, allowed: *mut VARIANT, restricted: *mut VARIANT ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§