IFWXFirewall2 Interface

The IFWXFirewall2 interface provides access to additional Microsoft Firewall service functions that are not exposed by the IFWXFirewall interface.

Syntax

interface IFWXFirewall2 : IFWXFirewall

Methods

The IFWXFirewall2 interface inherits from IFWXFirewall.

In addition, IFWXFirewall2 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.

UpdateServiceStatus

Updates the service status.

PostTaskCompletion

Posts a one-time task into the completion port's queue. The one-time task is represented by the IFWXTaskCompletion interface.

CreateRadiusAuthenticator

Creates a RADIUS authenticator interface (IFWXRadiusAuthenticator), which can be used to authenticate RADIUS users.

GetNetConfigDetector

Gets the interface that registers for network configuration detection (NCD) notifications.

GetLowResourceRecoverer

Gets the interface that registers for low resource recovery operations. Use a low resource recovery operation when you want to retry an operation that fails due to low resource availability.

CreateSSLNetworkSocket

Creates a Secure Sockets Layer (SSL) socket object that works with the dynamic packet filtering scheme.

Requirements

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

Declared in Wspfwext.idl.

See Also

Filter Interfaces
IFWXFirewall


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.