Share via


FwxEstablishedConnectionEvent structure

Applies to: desktop apps only

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

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

Structures

 

 

Build date: 7/12/2010