Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This function frees memory that was allocated for DNS records that were obtained by the DnsQuery_Wfunction.
Syntax
void WINAPI DnsRecordListFree( PDNS_RECORD pRecordList, DNS_FREE_TYPE FreeType ); |
Parameters
- pRecordList
-
[in, out] Pointer to the list of DNS records to be freed.
- FreeType
-
[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 Value
None.
Remarks
This function can be used to free memory allocated from query results that were obtained using a DnsQuery_Wfunction call. It cannot free memory allocated for DNS record lists that were created manually.
Requirements
Header | windns.h |
Library | dnsapi.lib |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |