Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 R2 or Windows Server 2008 x64 Edition with SP2. |
| Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
| Header | Declared in Wspfwext.idl. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010