FwxBindEvent structure

Applies to: desktop apps only

The FwxBindEvent structure contains parameters for events of the fwx_Bind_Udp and fwx_Bind_Tcp types, as defined in the FwxFirewallEventType enumerated type.

These events are the result of a Firewall client calling the bind function, or an application filter calling the IFWXSession::BindForClient method.

Syntax

typedef struct _tagFwxBindEvent {
  LPSOCKADDR            Address;
  DWORD                 AddressLength;
  IFWXConnection        *piConnection;
  FwxFilterAccess       FilterAccess;
  IFWXPerRuleDataplugin *PerRuleProcessedData;
  GUID                  ProtocolGuid;
  BOOL                  IsSecondary;
} FwxBindEvent;

Members

  • Address
    Pointer to a sockaddr structure that contains the address that the client wants to assign to the socket.

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

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

  • FilterAccess
    Value from the FwxFilterAccess enumerated type that indicates the type of access permission granted for the event. This member is used internally by the Firewall service and should not be modified or relied upon by application filters.

  • PerRuleProcessedData
    Pointer to a IFWXPerRuleDataplugin interface that represents the per-rule configuration data for the filter. This data is processed by the Firewall service when it starts, or when the rules are changed.

  • 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.

  • IsSecondary
    Boolean value that indicates whether the connection is a secondary connection.

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