Fix Type of DeleteIE3Cache Function

Robert Shearman rob at codeweavers.com
Thu Aug 19 06:45:55 CDT 2004


Hi,

A quick google suggests that DeleteIE3Cache is used by the IE setup 
using rundll32, so copy the type from rundll32, which fits the previous 
type rather well.

Rob

Changelog:
Fix type of DeleteIE3Cache function.

-------------- next part --------------
Index: wine/dlls/wininet/urlcache.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/urlcache.c,v
retrieving revision 1.19
diff -u -p -r1.19 urlcache.c
--- wine/dlls/wininet/urlcache.c	19 Aug 2004 01:05:13 -0000	1.19
+++ wine/dlls/wininet/urlcache.c	19 Aug 2004 03:06:35 -0000
@@ -2129,9 +2129,18 @@ BOOL WINAPI GetUrlCacheConfigInfoA(LPDWO
 /***********************************************************************
  *           DeleteIE3Cache (WININET.@)
  *
+ * Deletes the files used by the IE3 URL caching system.
+ *
+ * PARAMS
+ *   hWnd        [I] A dummy window.
+ *   hInst       [I] Instance of process calling the function.
+ *   lpszCmdLine [I] Options used by function.
+ *   nCmdShow    [I] The nCmdShow value to use when showing windows created, if any.
+ *
+ * RETURNS
+ *   nothing
  */
-DWORD WINAPI DeleteIE3Cache(DWORD long1, DWORD long2, LPSTR strbufA, DWORD long3)
+void WINAPI DeleteIE3Cache(HWND hWnd, HINSTANCE hInst, LPSTR lpszCmdLine, int nCmdShow)
 {
-    FIXME("(%ld, %ld, %s, %ld)\n", long1, long2, debugstr_a(strbufA), long3);
-    return 0;
+    FIXME("(%p, %p, %s, %d)\n", hWnd, hInst, debugstr_a(lpszCmdLine), nCmdShow);
 }
Index: wine/dlls/wininet/wininet.spec
===================================================================
RCS file: /home/wine/wine/dlls/wininet/wininet.spec,v
retrieving revision 1.49
diff -u -p -r1.49 wininet.spec
--- wine/dlls/wininet/wininet.spec	19 Aug 2004 01:05:13 -0000	1.49
+++ wine/dlls/wininet/wininet.spec	19 Aug 2004 03:06:35 -0000
@@ -25,7 +25,7 @@
 @ stdcall CreateUrlCacheEntryA(str long str ptr long)
 @ stub CreateUrlCacheEntryW
 @ stdcall CreateUrlCacheGroup(long ptr)
-@ stdcall DeleteIE3Cache(long long str long)
+@ stdcall DeleteIE3Cache(ptr ptr str long)
 @ stub DeleteUrlCacheContainerA
 @ stub DeleteUrlCacheContainerW
 @ stdcall DeleteUrlCacheEntry(str) DeleteUrlCacheEntryA


More information about the wine-patches mailing list