Click to Rate and Give Feedback
MSDN
MSDN Library
Networking
Network Protocols
DNS Reference
DNS Functions
 DnsFree Function

  Switch on low bandwidth view
DnsFree Function

The DnsFree function frees memory allocated for DNS records that was obtained using the DnsQuery function.

Syntax

C++
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 clientWindows XP
Minimum supported serverWindows Server 2003
HeaderWindns.h
LibraryDnsapi.lib
DLLDnsapi.dll

See Also

DNS_FREE_TYPE

Send comments about this topic to Microsoft

Build date: 5/28/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker