Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
The DnsFree function frees memory allocated for DNS records that was obtained using the DnsQuery function.
Syntax
VOID DnsFree(
[in, out] _Frees_ptr_opt_ PVOID pData,
[in] DNS_FREE_TYPE FreeType
);
Parameters
[in, out] pData
A pointer to the DNS data to be freed.
[in] FreeType
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
None
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | windns.h |
| Library | Dnsapi.lib |
| DLL | Dnsapi.dll |