DNS_NAPTR_DATAW structure (windns.h)

The DNS_NAPTR_DATA structure represents a Naming Authority Pointer (NAPTR) DNS Resource Record (RR) as specified in RFC 2915.

Syntax

typedef struct {
  WORD  wOrder;
  WORD  wPreference;
  PWSTR pFlags;
  PWSTR pService;
  PWSTR pRegularExpression;
  PWSTR pReplacement;
} DNS_NAPTR_DATAW, *PDNS_NAPTR_DATAW;

Members

wOrder

A value that determines the NAPTR RR processing order as defined in section 2 of RFC 2915.

wPreference

A value that determines the NAPTR RR processing order for records with the same wOrder value as defined in section 2 of RFC 2915.

pFlags

A pointer to a string that represents a set of NAPTR RR flags which determine the interpretation and processing of NAPTR record fields as defined in section 2 of RFC 2915.

pService

A pointer to a string that represents the available services in this rewrite path as defined in section 2 of RFC 2915.

pRegularExpression

A pointer to a string that represents a substitution expression as defined in sections 2 and 3 of RFC 2915.

pReplacement

A pointer to a string that represents the next NAPTR query name as defined in section 2 of RFC 2915.

Remarks

Note

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