Export (0) Print
Expand All

DNS_MX_DATA structure

The DNS_MX_DATA structure represents a DNS mail exchanger (MX) record as specified in section 3.3.9 of RFC 1035.

Syntax


typedef struct {
  PWSTR pNameExchange;
  WORD  wPreference;
  WORD  Pad;
} DNS_MX_DATA, *PDNS_MX_DATA;

Members

pNameExchange

A pointer to a string that represents the fully qualified domain name (FQDN) of the host willing to act as a mail exchange.

wPreference

A preference given to this resource record among others of the same owner. Lower values are preferred.

Pad

Reserved for padding. Do not use.

Remarks

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

Requirements

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft