IFWXFirewall Interface

The IFWXFirewall interface provides application filter access to Microsoft Firewall service functions that are not tied to any specific user session.

The Firewall service implements this interface and passes it to the IFWXFilter::FilterInit method.

Syntax

interface IFWXFirewall : IUnknown

Methods

The IFWXFirewall interface inherits the methods of the IUnknown interface.

In addition, IFWXFirewall defines the following methods.

Method Description

HookToCompletionPort

Associates a handle with the Firewall service completion port.

CreateOverlapped

Creates an overlapped object that supports the IFWXOverlapped interface for use with handles hooked to the completion port with the HookToCompletionPort method.

CreateNetworkSocket

Creates a socket object that works with the dynamic packet filtering scheme.

CreateConstBuffer

Creates a buffer object that wraps a user-supplied memory buffer.

CreateBuffer

Creates (allocates) a buffer object of the given size.

CreateWindowBuffer

Creates a buffer object that represents a window inside another buffer.

CreateIpFilter

Creates an IP filter object that implements the IFWXIpFilter interface.

StartHeavyBlockingOperation

Notifies the Firewall service that a thread is busy with a lengthy blocking operation.

EndHeavyBlockingOperation

Notifies the Firewall service that a lengthy blocking operation has ended.

GetClientSession

Retrieves or, if necessary, creates a session object for a specified client address.

CreatePrivateSession

Creates a private session object for a given client.

GetHostByName

Retrieves host information corresponding to a host name.

GetHostByAddr

Retrieves host information corresponding to an address.

Requirements

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

Declared in Wspfwext.idl.

See Also

Filter Interfaces


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

[an error occurred while processing this directive]