DNS_ADDR_ARRAY structure (windns.h)
The DNS_ADDR_ARRAY structure stores an array of IPv4 or IPv6 addresses.
Syntax
typedef struct _DnsAddrArray {
DWORD MaxCount;
DWORD AddrCount;
DWORD Tag;
WORD Family;
WORD WordReserved;
DWORD Flags;
DWORD MatchFlag;
DWORD Reserved1;
DWORD Reserved2;
DNS_ADDR AddrArray[];
} DNS_ADDR_ARRAY, *PDNS_ADDR_ARRAY;
Members
MaxCount
Indicates, the size, in bytes, of this structure.
AddrCount
Indicates the number of DNS_ADDR structures contained in the AddrArray member.
Tag
Reserved. Do not use.
Family
A value that specifies the IP family. Possible values are:
Value | Meaning |
---|---|
|
IPv6 |
|
IPv4 |
WordReserved
Reserved. Do not use.
Flags
Reserved. Do not use.
MatchFlag
Reserved. Do not use.
Reserved1
Reserved. Do not use.
Reserved2
Reserved. Do not use.
AddrArray
An array of DNS_ADDR structures that each contain an IP address.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | windns.h |