FwxEndConnectionEvent structure

Applies to: desktop apps only

The FwxEndConnectionEvent structure contains parameters for an event of the fwx_ConnectionTerminating type.

This event occurs as a result of a connection being terminated. A filter that holds a reference to the Microsoft Firewall service connection object must release the reference so that the connection object can be deleted.


typedef struct {
  IFWXConnection *piConnection;
  GUID           ProtocolGuid;
} FwxEndConnectionEvent;


  • piConnection
    Pointer to the IFWXConnection interface on the Firewall service connection object that is terminating. References to this object must be released in response to the event.

  • ProtocolGuid
    The globally unique identifier (GUID) for the protocol, if known to the Firewall service. If the protocol is not known, this parameter has the value GUID_NULL.


It is unnecessary to register for this event in the IFWXFilter::FilterInit method because a session filter is never attached in response to this event.


Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)


Forefront Threat Management Gateway (TMG) 2010



See also




Build date: 7/12/2010