wininet: let automated testers force all DNS lookups to return localhost

Henri Verbeet hverbeet at gmail.com
Fri Oct 31 10:51:20 CDT 2008


2008/10/31 Dan Kegel <dank at kegel.com>:
> How would we do this on Windows?   (We need the
> winetest results to be reliable, too.)
> That was the main reason I didn't go for LD_PRELOAD...
> I guess we do some sort of DLL injection, but I haven't done
> it personally before.
> - Dan
>
You could patch the IAT, but that's quite a bit less nice than
LD_PRELOAD, of course.



More information about the wine-devel mailing list