NET_FW_ACTION enumeration (icftypes.h)

The NET_FW_ACTION enumerated type specifies the action for a rule or default setting.

Syntax

typedef enum NET_FW_ACTION_ {
  NET_FW_ACTION_BLOCK = 0,
  NET_FW_ACTION_ALLOW,
  NET_FW_ACTION_MAX
} NET_FW_ACTION;

Constants

 
NET_FW_ACTION_BLOCK
Value: 0
Block traffic.
NET_FW_ACTION_ALLOW
Allow traffic.
NET_FW_ACTION_MAX
Maximum traffic.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header icftypes.h

See also

Windows Firewall with Advanced Security Enumerated Types

Windows Firewall with Advanced Security Reference