DNS_ADDR_ARRAY結構(windnsdef.h)
DNS_ADDR_ARRAY 結構會儲存 IPv4 或 IPv6 位址的陣列。
語法
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;
成員
MaxCount
指出這個 結構的大小,以位元組為單位。
AddrCount
指出 addrArray 成員
Tag
保留。 請勿使用。
Family
指定IP系列的值。 可能的值為:
價值 | 意義 |
---|---|
|
IPv6 |
|
IPv4 |
WordReserved
保留。 請勿使用。
Flags
保留。 請勿使用。
MatchFlag
保留。 請勿使用。
Reserved1
保留。 請勿使用。
Reserved2
保留。 請勿使用。
AddrArray
每個結構都包含IP位址的 DNS_ADDR 陣列。
要求
要求 | 價值 |
---|---|
最低支援的用戶端 | Windows 8 [僅限傳統型應用程式] |
支援的最低伺服器 | Windows Server 2012 [僅限傳統型應用程式] |
標頭 | windnsdef.h |