NET_FW_SCOPE enumeration

[The Windows Firewall API is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. For Windows Vista and later, use of the Windows Firewall with Advanced Security API is recommended.]

The NET_FW_SCOPE enumerated type specifies the scope of addresses from which a port can listen.

Syntax


typedef enum NET_FW_SCOPE_ { 
  NET_FW_SCOPE_ALL,
  NET_FW_SCOPE_LOCAL_SUBNET,
  NET_FW_SCOPE_CUSTOM,
  NET_FW_SCOPE_MAX
} NET_FW_SCOPE;

Constants

NET_FW_SCOPE_ALL

Scope is all.

NET_FW_SCOPE_LOCAL_SUBNET

Scope is local subnet only.

NET_FW_SCOPE_CUSTOM

Scope is custom.

NET_FW_SCOPE_MAX

Used for boundary checking only. Not valid for application programming.

Requirements

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

None supported

Header

Icftypes.h

See also

Windows Firewall Reference
Windows Firewall Enumerated Types

 

 

Show: