NET_FW_ACTION enumeration

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

Syntax


typedef enum  { 
  NET_FW_ACTION_BLOCK,
  NET_FW_ACTION_ALLOW,
  NET_FW_ACTION_MAX
} NET_FW_ACTION;

Constants

NET_FW_ACTION_BLOCK

Block traffic.

NET_FW_ACTION_ALLOW

Allow traffic.

NET_FW_ACTION_MAX

Maximum traffic.

Requirements

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 Reference
Windows Firewall with Advanced Security Enumerated Types

 

 

Show: