DNS_SRV_DATA (Windows CE 5.0)
This structure represents a DNS service (SRV) record.
typedef struct { LPTSTR pNameTarget; WORD wPriority; WORD wWeight; WORD wPort; WORD Pad;} DNS_SRV_DATA, *PDNS_SRV_DATA;
Members
- pNameTarget
[in] Pointer to a string representing the target host. - wPriority
[in] Priority of the target host specified in the owner name. Lower numbers imply higher priority. - wWeight
[in] Weight of the target host. Useful when selecting among hosts with the same priority. The chances of using this host should be proportional to its weight. - wPort
[in] Port used on the terget host for the service. - 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
OS Versions: Windows CE 5.0 and later.
Header: Windns.h.
See Also
Send Feedback on this topic to the authors