FWPM_ACTION0 (Compact 7)
3/12/2014
This structure specifies the action taken if all the filter conditions are true.
Syntax
typedef struct FWPM_ACTION0_ {
FWP_ACTION_TYPE type;
union {
GUID filterType;
GUID calloutKey;
};
} FWPM_ACTION0;
Members
type
Action type as specified by FWP_ACTION_TYPE which maps to a UINT32.Possible values are listed in the Remarks section below.
filterType
An arbitrary GUID chosen by the policy provider.Available when the action does not invoke a callout, that is, type does not contain FWP_ACTION_FLAG_CALLOUT.
calloutKey
The GUID for a valid callout in the layer.Available when the action invokes a callout, that is, type contains FWP_ACTION_FLAG_CALLOUT.
Remarks
The following is a list of the possible values for the type data member:
Value | Meaning |
---|---|
FWP_ACTION_BLOCK |
Block the traffic. 0x00000001 | FWP_ACTION_FLAG_TERMINATING |
FWP_ACTION_PERMIT |
Permit the traffic. 0x00000002 | FWP_ACTION_FLAG_TERMINATING |
FWP_ACTION_CALLOUT_TERMINATING |
Invoke a callout that always returns block or permit. 0x00000003 | FWP_ACTION_FLAG_CALLOUT | FWP_ACTION_FLAG_TERMINATING |
FWP_ACTION_CALLOUT_INSPECTION |
Invoke a callout that never returns block or permit. 0x00000004 | FWP_ACTION_FLAG_CALLOUT | FWP_ACTION_FLAG_NON_TERMINATING |
FWP_ACTION_CALLOUT_UNKNOWN |
Invoke a callout that may return block or permit. 0x00000005 | FWP_ACTION_FLAG_CALLOUT |
Requirements
Header |
fwpmu.h |