DnsFree function
The DnsFree function frees memory allocated for DNS records that was obtained using the DnsQuery function.
Syntax
void WINAPI DnsFree(
_Inout_ PVOID pData,
_In_ DNS_FREE_TYPE FreeType
);
Parameters
- pData [in, out]
-
A pointer to the DNS data to be freed.
- FreeType [in]
-
A value that specifies the type of DNS data in pData. For more information and a list of values, see the DNS_FREE_TYPE enumeration.
Return value
This function does not return a value.
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Community Additions
ADD
Show: