DNS_WINSR_DATAA structure (windns.h)

The DNS_WINSR_DATA structure represents a DNS Windows Internet Name Service reverse-lookup (WINSR) record.

Syntax

typedef struct {
  DWORD dwMappingFlag;
  DWORD dwLookupTimeout;
  DWORD dwCacheTimeout;
  PSTR  pNameResultDomain;
} DNS_WINSR_DATAA, *PDNS_WINSR_DATAA;

Members

dwMappingFlag

The WINS mapping flag that specifies whether the record must be included into the zone replication. dwMappingFlag must be one of these mutually exclusive values:

Value Meaning
DNS_WINS_FLAG_SCOPE
Record is not local, replicate across zones.
DNS_WINS_FLAG_LOCAL
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.

pNameResultDomain

A pointer to a string that represents the domain name to append to the name returned by a WINS reverse-lookup.

Remarks

The DNS_WINSR_DATA structure is used in conjunction with the DNS_RECORD structure to programmatically manage DNS entries.

Note

The windns.h header defines DNS_WINSR_DATA as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header windns.h

See also

DNS_RECORD