Compartilhar via


FWPS_FILTER_CONDITION0 (Compact 2013)

3/26/2014

This structure defines a run-time filtering condition for a filter.

Syntax

typedef struct FWPS_FILTER_CONDITION0_ {
  UINT16  fieldId;
  UINT16  reserved;
  FWP_MATCH_TYPE  matchType;
  FWP_CONDITION_VALUE0  conditionValue;
} FWPS_FILTER_CONDITION0;

Members

  • fieldId
    The data field identifier for the data field tested by this filtering condition. The numeric value of this member is specific to the filtering layer specified by the layerId member
  • reserved
    Reserved for system use. Callout drivers should ignore this member.
  • matchType
    An FWP_MATCH_TYPE value that specifies the type of match that the WFP Filter Engine is to test on the data field, to check whether the filtering condition is true
  • conditionValue
    An FWP_CONDITION_VALUE0 structure that specifies the value against which the data field is tested.

Remarks

The filterCondition member of the FWPS_FILTER0 structure points to an array of FWPS_FILTER_CONDITION0 structures that specify the run-time filtering conditions for a filter.

Requirements

Header

fwpsk.h

See Also

Reference

WFP Callout Driver Structures
FWPS_FILTER0
WFP Callout Driver Reference

Other Resources

FWP_MATCH_TYPE
FWP_CONDITION_VALUE0