IFWXPerRuleData::PrepareRulesData method

Applies to: desktop apps only

The PrepareRulesData method prepares the per-rule configuration data for a single rule for use by the filter.

Syntax

HRESULT PrepareRulesData(
  [in]   IFPCPolicyRule *pPolicyRule,
  [out]  IFWXPerRuleDataplugin **ProcessedRulesData
);

Parameters

  • pPolicyRule [in]
    Pointer to the IFPCPolicyRule interface representing the rule.

  • ProcessedRulesData [out]
    Address of an interface pointer that on return points to an IFWXPerRuleDataplugin interface representing the processed per-rule configuration data. This data is processed by the Microsoft Firewall service when it starts, or when the rules are changed.

Return value

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

Header

Wspfwext.idl

DLL

Wspsrv.exe

See also

IFWXPerRuleData

 

 

Build date: 7/12/2010