89 INetFwRules_AddRef( iface );
132 TRACE(
"%p %u %u %p\n",
This, iTInfo, lcid, ppTInfo);
153 hr = ITypeInfo_GetIDsOfNames(
typeinfo, rgszNames, cNames, rgDispId );
165 DISPPARAMS *pDispParams,
167 EXCEPINFO *pExcepInfo,
175 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
180 hr = ITypeInfo_Invoke(
typeinfo, &
This->INetFwRules_iface, dispIdMember,
181 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr );
270 TRACE(
"(%p)\n",
object);
280 TRACE(
"returning iface %p\n", *
object);
324 INetFwPolicy_AddRef( iface );
347 TRACE(
"%p %u %u %p\n",
This, iTInfo, lcid, ppTInfo);
368 hr = ITypeInfo_GetIDsOfNames(
typeinfo, rgszNames, cNames, rgDispId );
380 DISPPARAMS *pDispParams,
382 EXCEPINFO *pExcepInfo,
390 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
395 hr = ITypeInfo_Invoke(
typeinfo, &
This->INetFwPolicy_iface, dispIdMember,
396 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr );
440 TRACE(
"(%p,%p)\n", pUnkOuter, ppObj);
450 TRACE(
"returning iface %p\n", *ppObj);
468 TRACE(
"INetFwRules not supported\n");
476 INetFwPolicy2_AddRef( iface );
492 INetFwRules_Release(
fw_policy->fw_policy2_rules);
528 hr = ITypeInfo_GetIDsOfNames(
typeinfo, rgszNames, cNames, rgDispId );
542 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
547 hr = ITypeInfo_Invoke(
typeinfo, &
This->INetFwPolicy2_iface, dispIdMember,
548 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr );
582 FIXME(
"%p %d %p\n",
This, profileType, interfaces);
613 FIXME(
"%p %d %p\n",
This, profileType, disabled);
621 FIXME(
"%p %d %d\n",
This, profileType, disabled);
629 FIXME(
"%p %d %p\n",
This, profileType, disabled);
637 FIXME(
"%p %d %d\n",
This, profileType, disabled);
650 *rules =
This->fw_policy2_rules;
651 INetFwRules_AddRef(
This->fw_policy2_rules);
660 FIXME(
"%p %p\n",
This, ServiceRestriction);
789 TRACE(
"returning iface %p\n", *
obj);
HRESULT get_typeinfo(enum type_id tid, ITypeInfo **ret)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define HeapFree(x, y, z)
static HRESULT WINAPI fw_policy_GetProfileByType(INetFwPolicy *iface, NET_FW_PROFILE_TYPE profileType, INetFwProfile **profile)
static ULONG WINAPI netfw_rules_Release(INetFwRules *iface)
static HRESULT WINAPI netfw_rules_GetTypeInfoCount(INetFwRules *iface, UINT *pctinfo)
static HRESULT WINAPI fwpolicy2_put_UnicastResponsesToMulticastBroadcastDisabled(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, VARIANT_BOOL disabled)
static ULONG WINAPI fw_policy_AddRef(INetFwPolicy *iface)
static HRESULT WINAPI fwpolicy2_get_LocalPolicyModifyState(INetFwPolicy2 *iface, NET_FW_MODIFY_STATE *modifyState)
static HRESULT WINAPI fwpolicy2_Invoke(INetFwPolicy2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI netfw_rules_Remove(INetFwRules *iface, BSTR name)
HRESULT NetFwPolicy_create(IUnknown *pUnkOuter, LPVOID *ppObj)
static HRESULT WINAPI fwpolicy2_get_DefaultOutboundAction(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, NET_FW_ACTION *action)
static HRESULT WINAPI fwpolicy2_put_BlockAllInboundTraffic(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, VARIANT_BOOL block)
static HRESULT WINAPI fwpolicy2_GetTypeInfo(INetFwPolicy2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **info)
static HRESULT WINAPI fwpolicy2_GetTypeInfoCount(INetFwPolicy2 *iface, UINT *pctinfo)
static ULONG WINAPI netfw_rules_AddRef(INetFwRules *iface)
static HRESULT WINAPI netfw_rules_GetTypeInfo(INetFwRules *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static ULONG WINAPI fwpolicy2_AddRef(INetFwPolicy2 *iface)
static HRESULT WINAPI netfw_rules_Item(INetFwRules *iface, BSTR name, INetFwRule **rule)
static HRESULT WINAPI netfw_rules_get__NewEnum(INetFwRules *iface, IUnknown **newEnum)
static const struct INetFwRulesVtbl fw_rules_vtbl
static HRESULT WINAPI fwpolicy2_get_FirewallEnabled(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, VARIANT_BOOL *enabled)
static HRESULT WINAPI fwpolicy2_get_ServiceRestriction(INetFwPolicy2 *iface, INetFwServiceRestriction **ServiceRestriction)
static HRESULT WINAPI fwpolicy2_RestoreLocalFirewallDefaults(INetFwPolicy2 *iface)
static HRESULT WINAPI fwpolicy2_EnableRuleGroup(INetFwPolicy2 *iface, LONG bitmask, BSTR group, VARIANT_BOOL enable)
static HRESULT WINAPI fwpolicy2_get_Rules(INetFwPolicy2 *iface, INetFwRules **rules)
static HRESULT WINAPI netfw_rules_GetIDsOfNames(INetFwRules *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI fwpolicy2_get_CurrentProfileTypes(INetFwPolicy2 *iface, LONG *profile)
HRESULT NetFwPolicy2_create(IUnknown *outer, void **obj)
static HRESULT WINAPI fw_policy_GetTypeInfo(INetFwPolicy *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI fwpolicy2_get_IsRuleGroupCurrentlyEnabled(INetFwPolicy2 *iface, BSTR group, VARIANT_BOOL *enabled)
static fw_rules * impl_from_INetFwRules(INetFwRules *iface)
static HRESULT WINAPI fw_policy_QueryInterface(INetFwPolicy *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI fwpolicy2_put_NotificationsDisabled(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, VARIANT_BOOL disabled)
static const struct INetFwPolicy2Vtbl fw_policy2_vtbl
static HRESULT WINAPI fw_policy_get_CurrentProfile(INetFwPolicy *iface, INetFwProfile **profile)
static HRESULT WINAPI fw_policy_GetIDsOfNames(INetFwPolicy *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI fwpolicy2_GetIDsOfNames(INetFwPolicy2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI fwpolicy2_IsRuleGroupEnabled(INetFwPolicy2 *iface, LONG bitmask, BSTR group, VARIANT_BOOL *enabled)
static HRESULT WINAPI netfw_rules_get_Count(INetFwRules *iface, LONG *count)
static HRESULT WINAPI fwpolicy2_put_DefaultInboundAction(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, NET_FW_ACTION action)
static HRESULT WINAPI fw_policy_GetTypeInfoCount(INetFwPolicy *iface, UINT *pctinfo)
static HRESULT WINAPI fwpolicy2_put_DefaultOutboundAction(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, NET_FW_ACTION action)
static HRESULT WINAPI fwpolicy2_put_FirewallEnabled(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, VARIANT_BOOL enabled)
static HRESULT WINAPI netfw_rules_QueryInterface(INetFwRules *iface, REFIID riid, void **object)
static HRESULT WINAPI fwpolicy2_put_ExcludedInterfaces(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, VARIANT interfaces)
static fw_policy * impl_from_INetFwPolicy(INetFwPolicy *iface)
static ULONG WINAPI fw_policy_Release(INetFwPolicy *iface)
static HRESULT WINAPI fwpolicy2_get_ExcludedInterfaces(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, VARIANT *interfaces)
static HRESULT WINAPI fw_policy_Invoke(INetFwPolicy *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI fwpolicy2_QueryInterface(INetFwPolicy2 *iface, REFIID riid, void **out)
static HRESULT WINAPI netfw_rules_Add(INetFwRules *iface, INetFwRule *rule)
static HRESULT WINAPI fwpolicy2_get_NotificationsDisabled(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, VARIANT_BOOL *disabled)
static HRESULT WINAPI fwpolicy2_get_BlockAllInboundTraffic(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, VARIANT_BOOL *block)
static HRESULT create_INetFwRules(INetFwRules **object)
static HRESULT WINAPI fwpolicy2_get_DefaultInboundAction(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, NET_FW_ACTION *action)
static HRESULT WINAPI netfw_rules_Invoke(INetFwRules *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI fwpolicy2_get_UnicastResponsesToMulticastBroadcastDisabled(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, VARIANT_BOOL *disabled)
static fw_policy2 * impl_from_INetFwPolicy2(INetFwPolicy2 *iface)
static const struct INetFwPolicyVtbl fw_policy_vtbl
static ULONG WINAPI fwpolicy2_Release(INetFwPolicy2 *iface)
GLuint GLuint GLsizei count
GLenum GLenum GLsizei const GLuint GLboolean enabled
HRESULT NetFwProfile_create(IUnknown *, LPVOID *) DECLSPEC_HIDDEN
enum NET_FW_PROFILE_TYPE2_ NET_FW_PROFILE_TYPE2
enum NET_FW_PROFILE_TYPE_ NET_FW_PROFILE_TYPE
enum NET_FW_ACTION_ NET_FW_ACTION
enum NET_FW_MODIFY_STATE_ NET_FW_MODIFY_STATE
static VARIANTARG static DISPID
#define IsEqualGUID(rguid1, rguid2)
INetFwRules * fw_policy2_rules
INetFwPolicy2 INetFwPolicy2_iface
INetFwPolicy INetFwPolicy_iface
INetFwRules INetFwRules_iface
#define CONTAINING_RECORD(address, type, field)
_In_ DWORD _Out_ _In_ WORD wFlags
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
static unsigned int block