The IFWXFilter interface is used by the Microsoft Firewall service to load and initialize a filter and to create session filters. When the Firewall service starts, it creates an instance of the COM object that implements the IFWXFilter interface in each application filter that is installed on the Forefront TMG computer and enabled, and then the Firewall service calls the FilterInit method for each application filter to initialize it.
For more information about how this interface is used in application filters, see Filter Object Model.
For more information about implementing the IFWXFilter interface, see Implementing a Filter Object.
interface IFWXFilter : IUnknown
Every application filter must implement this interface on a COM object called the filter object.
The IFWXFilter interface inherits the methods of the IUnknown interface.
In addition, IFWXFilter defines the following methods.
Method | Description |
---|---|
Initializes the filter, passes a pointer to the IFWXFirewall interface exposed by the Microsoft Firewall service to the filter, and populates an FwxFilterHookEvents structure created by the Firewall service with the initial set of events for which the filter should be notified. |
|
Begins the shutdown sequence for the filter object when the Firewall service is shutting down. |
|
Creates an instance of the session filter object, returns a pointer to the IFWXSessionFilter interface on the object created, and populates an FwxFilterHookEvents structure created by the Firewall service with the set of events that the session filter will handle. |
Only one instance of the IFWXFilter interface is created for each application filter. In the IFWXFilter interface, you define a port, or range of ports, to be monitored, and the events that will trigger a call to the IFWXFilter::AttachToSession method.
Server | Requires Windows Server 2008. |
---|---|
Version | Requires Forefront Threat Management Gateway (TMG). |
Header |
Declared in Wspfwext.idl. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.