Platform SDK: Network Management

DnsFreeRecordList

The DnsFreeRecordList function frees memory allocated for DNS records obtained using the DnsQuery function.

VOID WINAPI DnsFreeRecordList (
  PDNS_RECORD pRecord,
);

Parameters

pRecord
[in, out] Pointer to the list of DNS records to be freed.

Remarks

The DnsFreeRecordList 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

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Windns.h.
  Library: Use Dnsapi.lib.

See Also

DnsQuery