http://bugs.winehq.org/show_bug.cgi?id=13967
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #5 from Anastasius Focht focht@gmx.net 2008-12-19 13:56:30 --- Hello,
PdhEnumObjectItemsW is the first blocker, it's actually needed. The app tries to query network adapter names using this API.
The proposed patch/stub is sufficient, failure (return value PDH_NOT_IMPLEMENTED) is not considered critical by app.
You might want to send your patch to mailing list for inclusion into source tree.
---
The next blocker is InternetQueryOption( NULL, INTERNET_OPTION_PER_CONNECTION_OPTION, ...) failing when the app queries the proxy settings.
--- snip --- 001c:Call wininet.InternetQueryOptionW(00000000,0000004b,00328a5c,00328a70) ret=0042b656 001c:trace:wininet:InternetQueryOptionW (nil) 75 0x328a5c 0x328a70 001c:fixme:wininet:INET_QueryOption INTERNET_OPTION_PER_CONNECTION_OPTION stub 001c:fixme:wininet:INET_QueryOption Unhandled dwOption 4 001c:fixme:wininet:INET_QueryOption Unhandled dwOption 5 001c:fixme:wininet:INET_QueryOption Unhandled dwOption 3 001c:fixme:wininet:INET_QueryOption Unhandled dwOption 2 001c:fixme:wininet:INET_QueryOption Unhandled dwOption 6 001c:Call KERNEL32.SetLastError(00000057) ret=605ce1db 001c:Ret KERNEL32.SetLastError() retval=00000057 ret=605ce1db 001c:Ret wininet.InternetQueryOptionW() retval=00000000 ret=0042b656 001c:CALL MSVCR90._CxxThrowException(<unknown, check return>) ret=0042b69f 001c:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,003289e4) ret=7857dbf9 001c:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b844dc0 --- snip ---
The app's code to query proxy settings is much similar to this example app code snippet: http://support.microsoft.com/kb/226473 ("How to programmatically query and set proxy settings under Internet Explorer", section "Under Internet Explorer 5, the recommended way is to use code similar to below: ")
Wine's wininet needs to flesh it out a bit to keep the app happy ...
Regards