DNS_NXT_DATAW structure (windns.h)

The DNS_NXT_DATA structure represents a DNS next (NXT) resource record (RR) as specified in section 5 of RFC 2535.

Syntax

typedef struct {
  PWSTR pNameNext;
  WORD  wNumTypes;
#if ...
  WORD  wTypes[];
#else
  WORD  wTypes[1];
#endif
} DNS_NXT_DATAW, *PDNS_NXT_DATAW;

Members

pNameNext

A pointer to a string that represents the name of the next domain.

wNumTypes

The number of elements in the wTypes array. wNumTypes must be 2 or greater but cannot exceed 8.

wTypes

A BYTE array that contains a bitmap which specifies the RR types that are present in the next domain. Each bit in the array corresponds to a DNS Record Type as defined in section 5.2 of RFC 2535.

wTypes[1]

A BYTE array that contains a bitmap which specifies the RR types that are present in the next domain. Each bit in the array corresponds to a DNS Record Type as defined in section 5.2 of RFC 2535.

Remarks

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

Note

The windns.h header defines DNS_NXT_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