FWPS_FILTER_CONDITION0 structure (fwpstypes.h)

The FWPS_FILTER_CONDITION0 structure defines a run-time filtering condition for a filter.

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

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 meaning of the numeric value of this member is specific to the filtering layer specified by the layerId member. For a description of the data field identifiers for each filtering layer, see Data Field Identifiers.

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

Requirement Value
Minimum supported client Available starting with Windows Vista.
Header fwpstypes.h (include Fwpsk.h)

See also

FWPS_FILTER0

FWP_CONDITION_VALUE0

FWP_MATCH_TYPE