NET_FW_RULE_DIRECTION enumeration (icftypes.h)

The NET_FW_RULE_DIRECTION enumerated type specifies the direction of traffic to which a rule applies.

Syntax

typedef enum NET_FW_RULE_DIRECTION_ {
  NET_FW_RULE_DIR_IN = 1,
  NET_FW_RULE_DIR_OUT,
  NET_FW_RULE_DIR_MAX
} NET_FW_RULE_DIRECTION;

Constants

 
NET_FW_RULE_DIR_IN
Value: 1
The rule applies to inbound traffic.
NET_FW_RULE_DIR_OUT
The rule applies to outbound traffic.
NET_FW_RULE_DIR_MAX
This value is used for boundary checking only and is not valid for application programming.

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