Share via


DNS_MX_DATA

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure represents a DNS mail exchanger (MX) record.

Syntax

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

Members

  • pNameExchange
    [in] Pointer to a string representing the fully qualified domain name (FQDN) of the host willing to act as a mail exchange.
  • wPreference
    [in] Preference given to this resource record among others at the same owner. Lower values are preferred.
  • Pad
    [in] Reserved. Used to keep pointers DWORD aligned.

Remarks

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

Requirements

Header windns.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

DNS Structures