DnsRecordListFree function
The DnsRecordListFree function frees memory allocated for DNS records obtained using the DnsQuery function.
Syntax
void WINAPI DnsRecordListFree(
_Inout_opt_ PDNS_RECORD pRecordList,
_In_ DNS_FREE_TYPE FreeType
);
Parameters
- pRecordList [in, out, optional]
-
A pointer to a DNS_RECORD structure that contains the list of DNS records to be freed.
- FreeType [in]
-
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
This function does not return a value.
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
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also