Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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_IP_VERSION enumerated type specifies the IP version for a port.
Syntax
typedef enum NET_FW_IP_VERSION_ {
NET_FW_IP_VERSION_V4 = 0,
NET_FW_IP_VERSION_V6,
NET_FW_IP_VERSION_ANY,
NET_FW_IP_VERSION_MAX
} NET_FW_IP_VERSION;
Constants
NET_FW_IP_VERSION_V4Value: 0 The port supports IPv4. |
NET_FW_IP_VERSION_V6The port supports IPv6. |
NET_FW_IP_VERSION_ANYThe port supports either version of IP. |
NET_FW_IP_VERSION_MAXThis value is used for boundary checking only and is 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 |