The DnsRecordListFree function frees memory allocated for DNS records obtained using the DnsQuery function.
void DnsRecordListFree( p, t );
A pointer to a DNS_RECORD structure that contains the list of DNS records to be freed.
A specifier of how the record list should be freed. The only type currently supported is a deep freeing of the entire record list. For more information and a list of values, see the DNS_FREE_TYPE enumeration.
The DnsRecordListFree function can be used to free memory allocated from query results obtained using a DnsQuery function call; it cannot free memory allocated for DNS record lists created manually.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|