DNS_WINS_DATA structure (windns.h)
The DNS_WINS_DATA structure represents a DNS Windows Internet Name Service (WINS) record.
Syntax
typedef struct {
DWORD dwMappingFlag;
DWORD dwLookupTimeout;
DWORD dwCacheTimeout;
DWORD cWinsServerCount;
#if ...
IP4_ADDRESS WinsServers[];
#else
IP4_ADDRESS WinsServers[1];
#endif
} DNS_WINS_DATA, *PDNS_WINS_DATA;
Members
dwMappingFlag
The WINS mapping flag that specifies whether the record must be included in zone replication. dwMappingFlag must be one of these mutually exclusive values:
Value | Meaning |
---|---|
|
Record is not local, replicate across zones. |
|
Record is local, do not replicate. |
dwLookupTimeout
The time, in seconds, that a DNS Server attempts resolution using WINS lookup.
dwCacheTimeout
The time, in seconds, that a DNS Server using WINS lookup may cache the WINS Server's response.
cWinsServerCount
The number of WINS Servers listed in WinsServers.
WinsServers
An array of IP4_ARRAY structures that contain the IPv4 address of the WINS lookup Servers.
WinsServers[1]
An array of IP4_ARRAY structures that contain the IPv4 address of the WINS lookup Servers.
Remarks
The DNS_WINS_DATA structure is used in conjunction with the DNS_RECORD structure to programmatically manage DNS entries.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | windns.h |