http://bugs.winehq.org/show_bug.cgi?id=32438
--- Comment #1 from Hans Leidekker hans@meelstraat.net 2012-12-13 14:30:32 CST --- (In reply to comment #0) ...
So why does WinHttpGetProxyForUrl() use the IP address to build the URL?
It puzzled me too but that's what WinHttpDetectAutoProxyConfigUrl returned on the machine I tested with. Here's another person asking the same question:
http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/74b3c...