http://bugs.winehq.org/show_bug.cgi?id=27828
--- Comment #5 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2011-07-19 13:16:47 CDT --- (In reply to comment #2)
A minimal implementation shouldn't be so terribly hard: set the appinfo_t's accessType, proxy, and proxyBypass to whatever's passed in. Still, doing so will take a little bit of drudge work:
- You'd probably want to add a function APPINFO_SetOption, next to
APPINFO_QueryOption in internet.c. Use it to handle setting the appinfo_t's proxy settings. 2. Add APPINFO_SetOption to APPINFOVtbl. 3. For each SetOption function, call APPINFO_SetOption through the appinfo_t's vtbl.
E.g., in http.c:HTTPREQ_SetOption, you'd call req->session->appInfo->hdr->vtbl->SetOption. E.g., in http.c:HTTPSESSION_SetOption, you'd call ses->appInfo->hdr->vtbl->SetOption.
You could probably separate steps 1. and 2. into one patch, and step 3. into a second.
I had a look at code in http.c and internet.c ,but i think hacking in this field at least requires a bit of understanding about how wininet works and i never looked into this area of wine, so i don't know anything about it, so i'll leave it to someone else...