FWPM_NET_EVENT2 structure (fwpmtypes.h)

The FWPM_NET_EVENT2 structure contains information about all event types. FWPM_NET_EVENT0 is available.

Syntax

typedef struct FWPM_NET_EVENT2_ {
  FWPM_NET_EVENT_HEADER2 header;
  FWPM_NET_EVENT_TYPE    type;
  union {
    FWPM_NET_EVENT_IKEEXT_MM_FAILURE1 *ikeMmFailure;
    FWPM_NET_EVENT_IKEEXT_QM_FAILURE0 *ikeQmFailure;
    FWPM_NET_EVENT_IKEEXT_EM_FAILURE1 *ikeEmFailure;
    FWPM_NET_EVENT_CLASSIFY_DROP2     *classifyDrop;
    FWPM_NET_EVENT_IPSEC_KERNEL_DROP0 *ipsecDrop;
    FWPM_NET_EVENT_IPSEC_DOSP_DROP0   *idpDrop;
    FWPM_NET_EVENT_CLASSIFY_ALLOW0    *classifyAllow;
    FWPM_NET_EVENT_CAPABILITY_DROP0   *capabilityDrop;
    FWPM_NET_EVENT_CAPABILITY_ALLOW0  *capabilityAllow;
    FWPM_NET_EVENT_CLASSIFY_DROP_MAC0 *classifyDropMac;
  };
} FWPM_NET_EVENT2;

Members

header

Type: FWPM_NET_EVENT_HEADER2

Information common to all events.

type

Type: FWPM_NET_EVENT_TYPE

The type of event.

ikeMmFailure

Type: FWPM_NET_EVENT_IKEEXT_MM_FAILURE1*

Information about an IKE main mode failure.

Available when type is FWPM_NET_EVENT_TYPE_IKEEXT_MM_FAILURE.

ikeQmFailure

Type: FWPM_NET_EVENT_IKEEXT_QM_FAILURE0*

Information about an IKE quick mode failure.

Available when type is FWPM_NET_EVENT_TYPE_IKEEXT_QM_FAILURE.

ikeEmFailure

Type: FWPM_NET_EVENT_IKEEXT_EM_FAILURE1*

Information about an IKE user mode failure.

Available when type is FWPM_NET_EVENT_TYPE_IKEEXT_EM_FAILURE.

classifyDrop

Type: FWPM_NET_EVENT_CLASSIFY_DROP2*

Information about a drop event.

Available when type is FWPM_NET_EVENT_TYPE_CLASSIFY_DROP.

ipsecDrop

Type: FWPM_NET_EVENT_IPSEC_KERNEL_DROP0*

Information about an IPsec kernel drop event.

Available when type is FWPM_NET_EVENT_TYPE_IPSEC_KERNEL_DROP.

idpDrop

Type: FWPM_NET_EVENT_IPSEC_DOSP_DROP0*

Information about an IPsec DoS Protection event.

Available when type is FWPM_NET_EVENT_IPSEC_DOSP_DROP.

classifyAllow

Type: FWPM_NET_EVENT_CLASSIFY_ALLOW0*

Information about an allow event.

capabilityDrop

Type: FWPM_NET_EVENT_CAPABILITY_DROP0*

Information about a capability-related drop event.

capabilityAllow

Type: FWPM_NET_EVENT_CAPABILITY_ALLOW0*

Information about a capability-related allow event.

classifyDropMac

Type: FWPM_NET_EVENT_CLASSIFY_DROP_MAC0*

Information about a MAC layer drop event.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header fwpmtypes.h

See also

Windows Filtering Platform API Structures