[PATCH 2/5] Link against libdnsapi to avoid undefined reference

Peter Foley pefoley2@pefoley.com
Mon Mar 21 20:19:00 GMT 2016


On Mon, Mar 21, 2016 at 3:52 PM, Corinna Vinschen
<corinna-cygwin@cygwin.com> wrote:
> While you're at it, ideally we make ourselves independent of the MingW
> header version and use DnsFree directly, replacing DnsRecordListFree
> in autoload.cc and libc/minires-os-if.c, no?

Hmm, it isn't immediately obvious as to the meaning of the 2nd (n)
parameter to LoadDLLfunc()
How would I go about finding the correct value for the DnsFree function?
Function documentation is at
https://msdn.microsoft.com/en-us/library/windows/desktop/ms682011(v=vs.85).aspx

Thanks,

Peter



More information about the Cygwin-patches mailing list