VDS_IPADDRESS_TYPE enumeration (vds.h)

[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]

Defines the set of valid types for an IP address. These values are used in the type member of the VDS_IPADDRESS structure.

Syntax

typedef enum VDS_IPADDRESS_TYPE {
  VDS_IPT_TEXT = 0,
  VDS_IPT_IPV4 = 1,
  VDS_IPT_IPV6 = 2,
  VDS_IPT_EMPTY = 3
} ;

Constants

 
VDS_IPT_TEXT
Value: 0
The address is a text address that is either a DNS address, an IPv4 dotted address, or an IPv6 hex
address.
VDS_IPT_IPV4
Value: 1
The address is an IPv4 address in binary format.
VDS_IPT_IPV6
Value: 2
The address is an IPv6 address in binary format.
VDS_IPT_EMPTY
Value: 3
The address is empty.

Remarks

Note  Additional constants might be added to the VDS_IPADDRESS_TYPE enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_IPADDRESS_TYPE enumeration constant.
 

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 R2 [desktop apps only]
Header vds.h
Redistributable VDS 1.1

See also

VDS Enumerations

VDS_IPADDRESS