Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DnsRecordListFree (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This function frees memory that was allocated for DNS records that were obtained by the DnsQuery_W function.

void WINAPI DnsRecordListFree(
  PDNS_RECORD pRecordList,


[in, out] Pointer to the list of DNS records to be freed.
[in] Specifies how the record list should be freed. The only type currently supported is DnsFreeRecordList, which completely frees the resource record list, including all child nodes in a linked list.

Return Values



This function can be used to free memory allocated from query results that were obtained using a DnsQuery_W function call. It cannot free memory allocated for DNS record lists that were created manually.


OS Versions: Windows CE 5.0 and later.
Header: Windns.h.
Link Library: Dnsapi.lib.

See Also

DNS Functions | TCP/IP and the DNS Client

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.

© 2015 Microsoft