#423 INTERNET_CACHE_ENTRY_INFOW errors in wininet.h

closed-accepted
w32api (251)
2009-11-14
2009-08-22
rjm
No

It seems that the current wininet.h included with MinGW (1.15, Sun Mar 5 08:31:57 2006 ) has an error in the definition of INTERNET_CACHE_ENTRY_INFOW. lpszSourceUrlName should be declared a LPWSTR (source: MSDN) but is declared as LPSTR instead.

Furthermore, the declaration of DeleteUrlCacheEntry is should include support for Unicode by inclusion of DeleteUrlCacheEntryW (and DeleteUrlCacheEntryA).

The attached patch fixes this.

Discussion

  • rjm
    rjm
    2009-08-22

    patch for wininet.h: definition of INTERNET_CACHE_ENTRY_INFOW

     
    Attachments
    • assigned_to: nobody --> ir0nh34d
    • status: open --> closed-accepted
     
  • Your patch has been accepted and is now commited to CVS. You should expect to see it in the next release.