FWPS_DISCARD_METADATA0 structure

The FWPS_DISCARD_METADATA0 structure describes the data that was discarded by the filter engine, a network layer, or a transport layer.

Note  FWPS_DISCARD_METADATA0 is a specific version of FWPS_DISCARD_METADATA. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.
 

Syntax


typedef struct FWPS_DISCARD_METADATA0_ {
  FWPS_DISCARD_MODULE0 discardModule;
  UINT32               discardReason;
  UINT64               filterId;
} FWPS_DISCARD_METADATA0;

Members

discardModule

An FWPS_DISCARD_MODULE0 type that indicates the type of module that discarded the data.

discardReason

A UINT32 value that specifies why the data was discarded. For a description of the discard reason identifiers for each type of module, see Discard Reason Identifiers.

filterId

A UINT64 value that specifies the run-time identifier for the filter in the filter engine that caused the data to be discarded.

Remarks

The FWPS_DISCARD_METADATA0 structure contains valid data only if the FWPS_METADATA_FIELD_DISCARD_REASON flag is set in the currentMetadataValues member of the FWPS_INCOMING_METADATA_VALUES0 structure that the filter engine passes to a callout's classifyFn callout function.

Requirements

Version

Available starting with Windows Vista.

Header

Fwpstypes.h (include Fwpsk.h)

See also

classifyFn
FWPS_DISCARD_MODULE0
FWPS_INCOMING_METADATA_VALUES0

 

 

Send comments about this topic to Microsoft

Show: