NET_FW_SCOPE enumeration (icftypes.h)
Note
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 Firewall with Advanced SecurityWindows 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 = 0,
NET_FW_SCOPE_LOCAL_SUBNET,
NET_FW_SCOPE_CUSTOM,
NET_FW_SCOPE_MAX
} NET_FW_SCOPE;
Constants
NET_FW_SCOPE_ALL Value: 0 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
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2 [desktop apps only] |
Minimum supported server | None supported |
Header | icftypes.h |