ReactOS  0.4.14-dev-583-g2a1ba2c
INetFwPolicy2 Interface Reference

import"netfw.idl";

Inheritance diagram for INetFwPolicy2:
Collaboration diagram for INetFwPolicy2:

Public Member Functions

HRESULT EnableRuleGroup ([in] long profileTypesBitmask, [in] BSTR group, [in] VARIANT_BOOL enable)
 
HRESULT IsRuleGroupEnabled ([in] long profileTypesBitmask, [in] BSTR group, [out, retval] VARIANT_BOOL *enabled)
 
HRESULT RestoreLocalFirewallDefaults ()
 
- Public Member Functions inherited from IDispatch
HRESULT GetTypeInfoCount ([out] UINT *pctinfo)
 
HRESULT GetTypeInfo ([in] UINT iTInfo, [in] LCID lcid, [out] ITypeInfo **ppTInfo)
 
HRESULT GetIDsOfNames ([in] REFIID riid, [in, size_is(cNames)] LPOLESTR *rgszNames, [in] UINT cNames, [in] LCID lcid, [out, size_is(cNames)] DISPID *rgDispId)
 
HRESULT Invoke ([in] DISPID dispIdMember, [in] REFIID riid, [in] LCID lcid, [in] WORD wFlags, [in, out] DISPPARAMS *pDispParams, [out] VARIANT *pVarResult, [out] EXCEPINFO *pExcepInfo, [out] UINT *puArgErr)
 
HRESULT RemoteInvoke ([in] DISPID dispIdMember, [in] REFIID riid, [in] LCID lcid, [in] DWORD dwFlags, [in] DISPPARAMS *pDispParams, [out] VARIANT *pVarResult, [out] EXCEPINFO *pExcepInfo, [out] UINT *pArgErr, [in] UINT cVarRef, [in, size_is(cVarRef)] UINT *rgVarRefIdx, [in, out, size_is(cVarRef)] VARIANTARG *rgVarRef)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Properties

long CurrentProfileTypes [get]
 
VARIANT_BOOL FirewallEnabled ([in] NET_FW_PROFILE_TYPE2 profileType) [get, set]
 
VARIANT ExcludedInterfaces ([in] NET_FW_PROFILE_TYPE2 profileType) [get, set]
 
VARIANT_BOOL BlockAllInboundTraffic ([in] NET_FW_PROFILE_TYPE2 profileType) [get, set]
 
VARIANT_BOOL NotificationsDisabled ([in] NET_FW_PROFILE_TYPE2 profileType) [get, set]
 
VARIANT_BOOL UnicastResponsesToMulticastBroadcastDisabled ([in] NET_FW_PROFILE_TYPE2 profileType) [get, set]
 
INetFwRules Rules [get]
 
INetFwServiceRestriction ServiceRestriction [get]
 
NET_FW_ACTION DefaultInboundAction ([in] NET_FW_PROFILE_TYPE2 profileType) [get, set]
 
NET_FW_ACTION DefaultOutboundAction ([in] NET_FW_PROFILE_TYPE2 profileType) [get, set]
 
VARIANT_BOOL IsRuleGroupCurrentlyEnabled ([in] BSTR group) [get]
 
NET_FW_MODIFY_STATE LocalPolicyModifyState [get]
 

Additional Inherited Members

- Public Types inherited from IDispatch
typedef IDispatchLPDISPATCH
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 
- Public Attributes inherited from IDispatch
const DISPID DISPID_UNKNOWN = -1
 
const DISPID DISPID_VALUE = 0
 
const DISPID DISPID_PROPERTYPUT = -3
 
const DISPID DISPID_NEWENUM = -4
 
const DISPID DISPID_EVALUATE = -5
 
const DISPID DISPID_CONSTRUCTOR = -6
 
const DISPID DISPID_DESTRUCTOR = -7
 
const DISPID DISPID_COLLECT = -8
 

Detailed Description

Definition at line 549 of file netfw.idl.

Member Function Documentation

◆ EnableRuleGroup()

HRESULT INetFwPolicy2::EnableRuleGroup ( [in] long  profileTypesBitmask,
[in] BSTR  group,
[in] VARIANT_BOOL  enable 
)

◆ IsRuleGroupEnabled()

HRESULT INetFwPolicy2::IsRuleGroupEnabled ( [in] long  profileTypesBitmask,
[in] BSTR  group,
[out, retval] VARIANT_BOOL enabled 
)

◆ RestoreLocalFirewallDefaults()

HRESULT INetFwPolicy2::RestoreLocalFirewallDefaults ( )

Property Documentation

◆ BlockAllInboundTraffic

VARIANT_BOOL INetFwPolicy2::BlockAllInboundTraffic
getset

◆ CurrentProfileTypes

long INetFwPolicy2::CurrentProfileTypes
get

◆ DefaultInboundAction

NET_FW_ACTION INetFwPolicy2::DefaultInboundAction
getset

◆ DefaultOutboundAction

NET_FW_ACTION INetFwPolicy2::DefaultOutboundAction
getset

◆ ExcludedInterfaces

VARIANT INetFwPolicy2::ExcludedInterfaces
getset

◆ FirewallEnabled

VARIANT_BOOL INetFwPolicy2::FirewallEnabled
getset

◆ IsRuleGroupCurrentlyEnabled

VARIANT_BOOL INetFwPolicy2::IsRuleGroupCurrentlyEnabled([in] BSTR group)
get

◆ LocalPolicyModifyState

NET_FW_MODIFY_STATE INetFwPolicy2::LocalPolicyModifyState
get

◆ NotificationsDisabled

VARIANT_BOOL INetFwPolicy2::NotificationsDisabled
getset

◆ Rules

INetFwRules INetFwPolicy2::Rules
get

◆ ServiceRestriction

INetFwServiceRestriction INetFwPolicy2::ServiceRestriction
get

◆ UnicastResponsesToMulticastBroadcastDisabled

VARIANT_BOOL INetFwPolicy2::UnicastResponsesToMulticastBroadcastDisabled
getset

The documentation for this interface was generated from the following file: