#[repr(C)]
pub struct INetFwPolicy2_Vtbl {
Show 23 fields pub base__: IDispatch_Vtbl, pub CurrentProfileTypes: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub get_FirewallEnabled: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: *mut VARIANT_BOOL) -> HRESULT, pub put_FirewallEnabled: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: VARIANT_BOOL) -> HRESULT, pub get_ExcludedInterfaces: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: *mut MaybeUninit<VARIANT>) -> HRESULT, pub put_ExcludedInterfaces: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: MaybeUninit<VARIANT>) -> HRESULT, pub get_BlockAllInboundTraffic: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: *mut VARIANT_BOOL) -> HRESULT, pub put_BlockAllInboundTraffic: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: VARIANT_BOOL) -> HRESULT, pub get_NotificationsDisabled: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: *mut VARIANT_BOOL) -> HRESULT, pub put_NotificationsDisabled: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: VARIANT_BOOL) -> HRESULT, pub get_UnicastResponsesToMulticastBroadcastDisabled: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: *mut VARIANT_BOOL) -> HRESULT, pub put_UnicastResponsesToMulticastBroadcastDisabled: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: VARIANT_BOOL) -> HRESULT, pub Rules: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub ServiceRestriction: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub EnableRuleGroup: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MaybeUninit<BSTR>, _: VARIANT_BOOL) -> HRESULT, pub IsRuleGroupEnabled: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MaybeUninit<BSTR>, _: *mut VARIANT_BOOL) -> HRESULT, pub RestoreLocalFirewallDefaults: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub get_DefaultInboundAction: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: *mut NET_FW_ACTION) -> HRESULT, pub put_DefaultInboundAction: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: NET_FW_ACTION) -> HRESULT, pub get_DefaultOutboundAction: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: *mut NET_FW_ACTION) -> HRESULT, pub put_DefaultOutboundAction: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: NET_FW_ACTION) -> HRESULT, pub get_IsRuleGroupCurrentlyEnabled: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *mut VARIANT_BOOL) -> HRESULT, pub LocalPolicyModifyState: unsafe extern "system" fn(_: *mut c_void, _: *mut NET_FW_MODIFY_STATE) -> HRESULT,
}

Fields§

§base__: IDispatch_Vtbl§CurrentProfileTypes: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§get_FirewallEnabled: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: *mut VARIANT_BOOL) -> HRESULT§put_FirewallEnabled: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: VARIANT_BOOL) -> HRESULT§get_ExcludedInterfaces: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: *mut MaybeUninit<VARIANT>) -> HRESULT§put_ExcludedInterfaces: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: MaybeUninit<VARIANT>) -> HRESULT§get_BlockAllInboundTraffic: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: *mut VARIANT_BOOL) -> HRESULT§put_BlockAllInboundTraffic: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: VARIANT_BOOL) -> HRESULT§get_NotificationsDisabled: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: *mut VARIANT_BOOL) -> HRESULT§put_NotificationsDisabled: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: VARIANT_BOOL) -> HRESULT§get_UnicastResponsesToMulticastBroadcastDisabled: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: *mut VARIANT_BOOL) -> HRESULT§put_UnicastResponsesToMulticastBroadcastDisabled: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: VARIANT_BOOL) -> HRESULT§Rules: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§ServiceRestriction: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§EnableRuleGroup: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MaybeUninit<BSTR>, _: VARIANT_BOOL) -> HRESULT§IsRuleGroupEnabled: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MaybeUninit<BSTR>, _: *mut VARIANT_BOOL) -> HRESULT§RestoreLocalFirewallDefaults: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§get_DefaultInboundAction: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: *mut NET_FW_ACTION) -> HRESULT§put_DefaultInboundAction: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: NET_FW_ACTION) -> HRESULT§get_DefaultOutboundAction: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: *mut NET_FW_ACTION) -> HRESULT§put_DefaultOutboundAction: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_PROFILE_TYPE2, _: NET_FW_ACTION) -> HRESULT§get_IsRuleGroupCurrentlyEnabled: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *mut VARIANT_BOOL) -> HRESULT§LocalPolicyModifyState: unsafe extern "system" fn(_: *mut c_void, _: *mut NET_FW_MODIFY_STATE) -> HRESULT

Implementations§

§

impl INetFwPolicy2_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> INetFwPolicy2_Vtbl
where Identity: INetFwPolicy2_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.