On Mar 21 16:19, Peter Foley wrote: > On Mon, Mar 21, 2016 at 3:52 PM, Corinna Vinschen > 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 Number of arguments multiplied by 4. That's just for the 32 bit WINAPI. LoadDLLfunc (DnsFree, 8, dnsapi) should do it. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat