89 INetFwRule_AddRef( iface );
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->INetFwRule_iface, dispIdMember,
181 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr );
600 rule =
malloc(
sizeof(*rule) );
608 TRACE(
"returning iface %p\n", *
obj);
643 INetFwRules_AddRef( iface );
707 hr = ITypeInfo_GetIDsOfNames(
typeinfo, rgszNames, cNames, rgDispId );
719 DISPPARAMS *pDispParams,
721 EXCEPINFO *pExcepInfo,
729 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
734 hr = ITypeInfo_Invoke(
typeinfo, &
This->INetFwRules_iface, dispIdMember,
735 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr );
820 TRACE(
"(%p)\n",
object);
822 rules =
malloc(
sizeof(*rules) );
830 TRACE(
"returning iface %p\n", *
object);
874 INetFwPolicy_AddRef( iface );
918 hr = ITypeInfo_GetIDsOfNames(
typeinfo, rgszNames, cNames, rgDispId );
930 DISPPARAMS *pDispParams,
932 EXCEPINFO *pExcepInfo,
940 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
945 hr = ITypeInfo_Invoke(
typeinfo, &
This->INetFwPolicy_iface, dispIdMember,
946 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr );
990 TRACE(
"(%p,%p)\n", pUnkOuter, ppObj);
992 fp =
malloc(
sizeof(*fp) );
1000 TRACE(
"returning iface %p\n", *ppObj);
1018 TRACE(
"INetFwRules not supported\n");
1026 INetFwPolicy2_AddRef( iface );
1042 INetFwRules_Release(
fw_policy->fw_policy2_rules);
1078 hr = ITypeInfo_GetIDsOfNames(
typeinfo, rgszNames, cNames, rgDispId );
1092 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
1097 hr = ITypeInfo_Invoke(
typeinfo, &
This->INetFwPolicy2_iface, dispIdMember,
1098 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr );
1132 FIXME(
"%p %d %p\n",
This, profileType, interfaces);
1163 FIXME(
"%p %d %p\n",
This, profileType, disabled);
1171 FIXME(
"%p %d %d\n",
This, profileType, disabled);
1179 FIXME(
"%p %d %p\n",
This, profileType, disabled);
1187 FIXME(
"%p %d %d\n",
This, profileType, disabled);
1200 *rules =
This->fw_policy2_rules;
1201 INetFwRules_AddRef(
This->fw_policy2_rules);
1210 FIXME(
"%p %p\n",
This, ServiceRestriction);
1325 fp =
malloc(
sizeof(*fp) );
1339 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)
static HRESULT WINAPI netfw_rule_put_Interfaces(INetFwRule *iface, VARIANT interfaces)
static HRESULT WINAPI netfw_rule_get_Grouping(INetFwRule *iface, BSTR *grouping)
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_rule_put_LocalAddresses(INetFwRule *iface, BSTR addresses)
static HRESULT WINAPI netfw_rule_QueryInterface(INetFwRule *iface, REFIID riid, void **object)
static HRESULT WINAPI netfw_rules_GetTypeInfoCount(INetFwRules *iface, UINT *pctinfo)
static HRESULT WINAPI netfw_rule_put_RemotePorts(INetFwRule *iface, BSTR ports)
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 ULONG WINAPI netfw_rule_AddRef(INetFwRule *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)
static HRESULT WINAPI netfw_rule_get_ServiceName(INetFwRule *iface, BSTR *service)
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 const struct INetFwRuleVtbl fw_rule_vtbl
static HRESULT WINAPI netfw_rule_GetTypeInfoCount(INetFwRule *iface, UINT *pctinfo)
static HRESULT WINAPI netfw_rule_put_ApplicationName(INetFwRule *iface, BSTR app)
static HRESULT WINAPI fwpolicy2_GetTypeInfo(INetFwPolicy2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **info)
static HRESULT WINAPI netfw_rule_get_LocalAddresses(INetFwRule *iface, BSTR *addresses)
static HRESULT WINAPI netfw_rule_put_Direction(INetFwRule *iface, NET_FW_RULE_DIRECTION dir)
static HRESULT WINAPI fwpolicy2_GetTypeInfoCount(INetFwPolicy2 *iface, UINT *pctinfo)
HRESULT NetFwRule_create(IUnknown *outer, void **obj)
static ULONG WINAPI netfw_rule_Release(INetFwRule *iface)
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_rule_put_Profiles(INetFwRule *iface, LONG profiles)
static HRESULT WINAPI netfw_rules_Item(INetFwRules *iface, BSTR name, INetFwRule **rule)
static HRESULT WINAPI netfw_rule_put_RemoteAddresses(INetFwRule *iface, BSTR addresses)
static HRESULT WINAPI netfw_rules_get__NewEnum(INetFwRules *iface, IUnknown **newEnum)
static const struct INetFwRulesVtbl fw_rules_vtbl
static HRESULT WINAPI netfw_rule_put_ServiceName(INetFwRule *iface, BSTR service)
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 netfw_rule_get_InterfaceTypes(INetFwRule *iface, BSTR *types)
static HRESULT WINAPI netfw_rule_put_LocalPorts(INetFwRule *iface, BSTR ports)
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)
static HRESULT WINAPI netfw_rule_GetTypeInfo(INetFwRule *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
HRESULT NetFwPolicy2_create(IUnknown *outer, void **obj)
static HRESULT WINAPI fw_policy_GetTypeInfo(INetFwPolicy *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI netfw_rule_Invoke(INetFwRule *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI fwpolicy2_get_IsRuleGroupCurrentlyEnabled(INetFwPolicy2 *iface, BSTR group, VARIANT_BOOL *enabled)
static fw_rules * impl_from_INetFwRules(INetFwRules *iface)
static HRESULT WINAPI netfw_rule_put_Name(INetFwRule *iface, BSTR name)
static HRESULT WINAPI netfw_rule_get_Protocol(INetFwRule *iface, LONG *protocol)
static HRESULT WINAPI netfw_rule_get_ApplicationName(INetFwRule *iface, BSTR *app)
static HRESULT WINAPI netfw_rule_get_RemotePorts(INetFwRule *iface, BSTR *ports)
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 netfw_rule_get_Name(INetFwRule *iface, BSTR *name)
static HRESULT WINAPI fwpolicy2_GetIDsOfNames(INetFwPolicy2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI netfw_rule_put_Grouping(INetFwRule *iface, BSTR grouping)
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 netfw_rule_get_LocalPorts(INetFwRule *iface, BSTR *ports)
static HRESULT WINAPI fwpolicy2_put_DefaultInboundAction(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, NET_FW_ACTION action)
static HRESULT WINAPI netfw_rule_put_Protocol(INetFwRule *iface, LONG protocol)
static HRESULT WINAPI fw_policy_GetTypeInfoCount(INetFwPolicy *iface, UINT *pctinfo)
static HRESULT WINAPI netfw_rule_get_Direction(INetFwRule *iface, NET_FW_RULE_DIRECTION *dir)
static HRESULT WINAPI fwpolicy2_put_DefaultOutboundAction(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, NET_FW_ACTION action)
static HRESULT WINAPI netfw_rule_put_Enabled(INetFwRule *iface, VARIANT_BOOL enabled)
static HRESULT WINAPI netfw_rule_get_RemoteAddresses(INetFwRule *iface, BSTR *addresses)
static HRESULT WINAPI netfw_rule_get_Interfaces(INetFwRule *iface, VARIANT *interfaces)
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 fw_rule * impl_from_INetFwRule(INetFwRule *iface)
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 netfw_rule_get_Action(INetFwRule *iface, NET_FW_ACTION *action)
static HRESULT WINAPI netfw_rule_get_Profiles(INetFwRule *iface, LONG *profiles)
static HRESULT WINAPI fwpolicy2_get_ExcludedInterfaces(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, VARIANT *interfaces)
static HRESULT WINAPI netfw_rule_put_InterfaceTypes(INetFwRule *iface, BSTR types)
static HRESULT WINAPI netfw_rule_GetIDsOfNames(INetFwRule *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
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 WINAPI netfw_rule_get_Enabled(INetFwRule *iface, VARIANT_BOOL *enabled)
static HRESULT create_INetFwRules(INetFwRules **object)
static HRESULT WINAPI netfw_rule_put_EdgeTraversal(INetFwRule *iface, VARIANT_BOOL enabled)
static HRESULT WINAPI netfw_rule_put_IcmpTypesAndCodes(INetFwRule *iface, BSTR codes)
static HRESULT WINAPI fwpolicy2_get_DefaultInboundAction(INetFwPolicy2 *iface, NET_FW_PROFILE_TYPE2 profileType, NET_FW_ACTION *action)
static HRESULT WINAPI netfw_rule_get_IcmpTypesAndCodes(INetFwRule *iface, BSTR *codes)
static HRESULT WINAPI netfw_rule_put_Action(INetFwRule *iface, 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 HRESULT WINAPI netfw_rule_put_Description(INetFwRule *iface, BSTR desc)
static const struct INetFwPolicyVtbl fw_policy_vtbl
static HRESULT WINAPI netfw_rule_get_Description(INetFwRule *iface, BSTR *desc)
static HRESULT WINAPI netfw_rule_get_EdgeTraversal(INetFwRule *iface, VARIANT_BOOL *enabled)
static ULONG WINAPI fwpolicy2_Release(INetFwPolicy2 *iface)
static const char * debugstr_variant(const VARIANT *var)
GLuint GLuint GLsizei count
GLenum GLenum GLsizei const GLuint GLboolean enabled
HRESULT NetFwProfile_create(IUnknown *, LPVOID *)
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_RULE_DIRECTION_ NET_FW_RULE_DIRECTION
enum NET_FW_MODIFY_STATE_ NET_FW_MODIFY_STATE
D3D11_SHADER_VARIABLE_DESC desc
static VARIANTARG static DISPID
#define IsEqualGUID(rguid1, rguid2)
INetFwRules * fw_policy2_rules
INetFwPolicy2 INetFwPolicy2_iface
INetFwPolicy INetFwPolicy_iface
INetFwRule INetFwRule_iface
INetFwRules INetFwRules_iface
#define CONTAINING_RECORD(address, type, field)
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out
WINBASEAPI _In_ DWORD _Out_ _In_ WORD wFlags
static unsigned int block