PrepareRulesData Method of the IFWXPerRuleData Interface

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

Pointer to the IFPCPolicyRule interface representing the rule.

ProcessedRulesData

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

Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXPerRuleData


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.