NET_ADDRESS_FORMAT enumeration
The NET_ADDRESS_FORMAT enumeration specifies the format of a network address returned by the ParseNetworkString function.
Syntax
typedef enum { NET_ADDRESS_FORMAT_UNSPECIFIED = 0, NET_ADDRESS_DNS_NAME, NET_ADDRESS_IPV4, NET_ADDRESS_IPV6 } NET_ADDRESS_FORMAT;
Constants
- NET_ADDRESS_FORMAT_UNSPECIFIED
-
The format of the network address is unspecified.
- NET_ADDRESS_DNS_NAME
-
The format of the network address is a DNS name.
- NET_ADDRESS_IPV4
-
The format of the network address is a string in Internet standard dotted-decimal notation for IPv4.
- NET_ADDRESS_IPV6
-
The format of the network address is a string in Internet standard hexadecimal encoding for IPv6.
Remarks
The NET_ADDRESS_FORMAT enumeration is defined on Windows Vista and later.
The NET_ADDRESS_FORMAT enumeration is used in the NET_ADDRESS_INFO structure returned by the ParseNetworkString function.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
See also