Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DnsRecordListFree function frees memory allocated for DNS records obtained using the DnsQuery function.
Syntax
void DnsRecordListFree(
[in, out, optional] p,
[in] t
);
Parameters
[in, out, optional] p
A pointer to a DNS_RECORD structure that contains the list of DNS records to be freed.
[in] t
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.
Return value
None
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | windns.h |
Library | Dnsapi.lib |
DLL | Dnsapi.dll |