[Bug 37871] New: GOG.com downloader (.NET 3.5 app) wants wininet.GetUrlCacheConfigInfoA/W implementation

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 9 13:48:02 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=37871

            Bug ID: 37871
           Summary: GOG.com downloader (.NET 3.5 app) wants
                    wininet.GetUrlCacheConfigInfoA/W implementation
           Product: Wine
           Version: 1.7.33
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wininet
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

as the summary says.

It's rather harmless as the failure is catched and handled in managed code.

So the issue is rather about an improvement and the app can be used as test
case.

--- snip ---
fixme:wininet:GetUrlCacheConfigInfoW (0x1440e8, 0x33df24, 104)
Message: Value does not fall within the expected range.
Stack trace:    at
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32
errorCode, IntPtr errorInfo)
   at MS.Win32.WinInet.get_InternetCacheFolder()
   at System.Windows.Media.Imaging.BitmapDownload.BeginDownload(BitmapDecoder
decoder, Uri uri, RequestCachePolicy uriCachePolicy, Stream stream)
   at System.Windows.Media.Imaging.LateBoundBitmapDecoder..ctor(Uri baseUri,
Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption
cacheOption, RequestCachePolicy requestCachePolicy)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions,
BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean
insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapImage.EndInit()
   at GOGCompanionApp.AppWindow.LoginUser()
--- snip ---

MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/cc817578%28v=vs.85%29.aspx

Source:
http://source.winehq.org/git/wine.git/blob/2aaff6e19f9ef97a241d7ca36497d47d52b4c523:/dlls/wininet/urlcache.c#l3764

--- snip ---
3764 BOOL WINAPI GetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW
CacheInfo, LPDWORD size, DWORD bitmask)
3765 {
3766     FIXME("(%p, %p, %x)\n", CacheInfo, size, bitmask);
3767             INTERNET_SetLastError(ERROR_INVALID_PARAMETER);
3768     return FALSE;
3769 }
--- snip ---

$ wine --version
wine-1.7.33-191-ge899bd8

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list