Share via


IFWXNetworkAdapter interface

Applies to: desktop apps only

The IFWXNetworkAdapter interface represents a single network adapter. The network adapter configuration is not specific to Forefront TMG, but is received from TCP/IP.

Each instance of the IFWXNetworkAdapter interface is an element of a collection represented by an IFWXNetworkAdapters interface that can be retrieved from a snapshot by calling the IFWXNetConfigDetectionSnapshot::GetNetworkAdapters method.

An application filter that is registered as a network configuration detection (NCD) client can associate user-defined context information with each IFWXNetworkAdapter interface. The context information is stored in an object that implements the IUnknown interface and is allocated by the application filter. The application filter can then use this information to perform actions in response to notifications for NCD events that it receives when the Firewall service calls the IFWXNetConfigDetectionNotification::NotifyNetworkChange method. This way, information about each network adapter can be stored the first time that a notification is received for it, and it is not necessary to retrieve the information from the stored configuration for each subsequent NCD event.

Members

The IFWXNetworkAdapter interface inherits from the IUnknown interface. IFWXNetworkAdapter also has these types of members:

  • Methods

Methods

The IFWXNetworkAdapter interface has these methods.

Method Description
GetAdapterIndex

Gets the index of the network adapter.

GetContext

Gets the context information for the network adapter.

GetRouteTable

Gets the routing table information for the network adapter.

SetContext

Sets the context information for the network adapter.

 

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

See also

Filter Interfaces

 

 

Build date: 7/12/2010