FwxEstablishedConnectionEvent Structure

The FwxEstablishedConnectionEvent structure contains parameters for an event of the fwx_EstablishedConnection type.

This event provides notification of connections established for the IFWXSession::AllowFutureConnect, IFWXSession::BindForClient, and IFWXSession::RedirectConnections methods. When a connection is made as a result of a call to one of these three methods, the Microsoft Firewall service creates this event.

Syntax

typedef struct {
INT Protocol;
DWORD AddressLength;
IFWXConnection* piConnection;
UserContextType UserContext; } FwxEstablishedConnectionEvent;

Members

Protocol

Protocol flags. This parameter can have the following flag values:

Value Meaning

FWX_PROTOCOL_TCP

The connection uses the TCP protocol.

FWX_PROTOCOL_UDP

The connection uses the UDP protocol.

AddressLength

Length, in bytes, of the data pointed to by the Address member.

piConnection

Pointer to the IFWXConnection interface on the Firewall service connection object for this request.

UserContext

User context for the connection. This is identical to the UserContextType parameter of the function that created the connection.

Remarks

Other filters cannot register for this event. This event is sent only to the filter that called one of the previous methods and passed its interface.

Requirements

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

Declared in Wspfwext.idl.

See Also

Structures


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.