DNS_TXT_DATAW structure (windns.h)
The DNS_TXT_DATA structure represents a DNS text (TXT) record as specified in section 3.3.14 of RFC 1035.
Syntax
typedef struct {
DWORD dwStringCount;
#if ...
PWSTR pStringArray[];
#else
PWSTR pStringArray[1];
#endif
} DNS_TXT_DATAW, *PDNS_TXT_DATAW;
Members
dwStringCount
The number of strings represented in pStringArray.
pStringArray
An array of strings representing the descriptive text of the TXT resource record.
pStringArray[1]
An array of strings representing the descriptive text of the TXT resource record.
Remarks
The DNS_TXT_DATA structure is used in conjunction with the DNS_RECORD structure to programmatically manage DNS entries.
Note
The windns.h header defines DNS_TXT_DATA as an alias that 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 is 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 |