#[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
impl INetFwPolicy2_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> INetFwPolicy2_Vtblwhere
Identity: INetFwPolicy2_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for INetFwPolicy2_Vtbl
impl RefUnwindSafe for INetFwPolicy2_Vtbl
impl Send for INetFwPolicy2_Vtbl
impl Sync for INetFwPolicy2_Vtbl
impl Unpin for INetFwPolicy2_Vtbl
impl UnwindSafe for INetFwPolicy2_Vtbl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more