[PATCH 2/2] wininet: Add stub for DeleteWpadCacheForNetworks

Jong Bin, Chae chae at trunk.so
Wed Dec 26 08:00:57 CST 2012


-------------- next part --------------
From 70a4223baee1d5cb2a3a618fc47b6197f2fe0031 Mon Sep 17 00:00:00 2001
From: Chae Jong Bin <chae at trunk.so>
Date: Wed, 26 Dec 2012 13:46:02 +0000
Subject: wininet: Add stub for DeleteWpadCacheForNetworks

---
 dlls/wininet/urlcache.c   |   24 +++++++++++++++++-------
 dlls/wininet/wininet.spec |    1 +
 2 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/dlls/wininet/urlcache.c b/dlls/wininet/urlcache.c
index c5201b4..5f65e24 100644
--- a/dlls/wininet/urlcache.c
+++ b/dlls/wininet/urlcache.c
@@ -4110,7 +4110,7 @@ BOOL WINAPI FindNextUrlCacheGroup( HANDLE hFind, GROUPID* lpGroupId, LPVOID lpRe
  */
 INTERNETAPI GROUPID WINAPI CreateUrlCacheGroup(DWORD dwFlags, LPVOID lpReserved)
 {
-  FIXME("(0x%08x, %p): stub\n", dwFlags, lpReserved);
+  FIXME("(0x%08x, %p) stub\n", dwFlags, lpReserved);
   return FALSE;
 }
 
@@ -4126,6 +4126,16 @@ BOOL WINAPI DeleteUrlCacheGroup(GROUPID GroupId, DWORD dwFlags, LPVOID lpReserve
 }
 
 /***********************************************************************
+ *           DeleteWpadCacheForNetworks (WININET.@)
+ *    Undocumented, added in IE8
+ */
+BOOL WINAPI DeleteWpadCacheForNetworks(DWORD unk1)
+{
+    FIXME("(%d) stub\n", unk1);
+    return FALSE;
+}
+
+/***********************************************************************
  *           SetUrlCacheEntryGroupA (WININET.@)
  *
  */
@@ -4160,7 +4170,7 @@ BOOL WINAPI SetUrlCacheEntryGroupW(LPCWSTR lpszUrlName, DWORD dwFlags,
  */
 BOOL WINAPI GetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW CacheInfo, LPDWORD size, DWORD bitmask)
 {
-    FIXME("(%p, %p, %x)\n", CacheInfo, size, bitmask);
+    FIXME("(%p, %p, %x) stub\n", CacheInfo, size, bitmask);
     INTERNET_SetLastError(ERROR_INVALID_PARAMETER);
     return FALSE;
 }
@@ -4170,7 +4180,7 @@ BOOL WINAPI GetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW CacheInfo, LPDW
  */
 BOOL WINAPI GetUrlCacheConfigInfoA(LPINTERNET_CACHE_CONFIG_INFOA CacheInfo, LPDWORD size, DWORD bitmask)
 {
-    FIXME("(%p, %p, %x)\n", CacheInfo, size, bitmask);
+    FIXME("(%p, %p, %x) stub\n", CacheInfo, size, bitmask);
     INTERNET_SetLastError(ERROR_INVALID_PARAMETER);
     return FALSE;
 }
@@ -4236,7 +4246,7 @@ BOOL WINAPI SetUrlCacheConfigInfoW( LPINTERNET_CACHE_CONFIG_INFOW lpCacheConfigI
  */
 DWORD WINAPI DeleteIE3Cache(HWND hWnd, HINSTANCE hInst, LPSTR lpszCmdLine, int nCmdShow)
 {
-    FIXME("(%p, %p, %s, %d)\n", hWnd, hInst, debugstr_a(lpszCmdLine), nCmdShow);
+    FIXME("(%p, %p, %s, %d) stub\n", hWnd, hInst, debugstr_a(lpszCmdLine), nCmdShow);
     return 0;
 }
 
@@ -4432,7 +4442,7 @@ BOOL WINAPI GetDiskInfoA(PCSTR path, PDWORD cluster_size, PDWORDLONG free, PDWOR
  */
 DWORD WINAPI RegisterUrlCacheNotification(LPVOID a, DWORD b, DWORD c, DWORD d, DWORD e, DWORD f)
 {
-    FIXME("(%p %x %x %x %x %x)\n", a, b, c, d, e, f);
+    FIXME("(%p %x %x %x %x %x) stub\n", a, b, c, d, e, f);
     return 0;
 }
 
@@ -4441,7 +4451,7 @@ DWORD WINAPI RegisterUrlCacheNotification(LPVOID a, DWORD b, DWORD c, DWORD d, D
  */
 BOOL WINAPI IncrementUrlCacheHeaderData(DWORD index, LPDWORD data)
 {
-    FIXME("(%u, %p)\n", index, data);
+    FIXME("(%u, %p) stub\n", index, data);
     return FALSE;
 }
 
@@ -4451,7 +4461,7 @@ BOOL WINAPI IncrementUrlCacheHeaderData(DWORD index, LPDWORD data)
 
 DWORD WINAPI RunOnceUrlCache(HWND hwnd, HINSTANCE hinst, LPSTR cmd, int cmdshow)
 {
-    FIXME("(%p, %p, %s, %d): stub\n", hwnd, hinst, debugstr_a(cmd), cmdshow);
+    FIXME("(%p, %p, %s, %d) stub\n", hwnd, hinst, debugstr_a(cmd), cmdshow);
     return 0;
 }
 
diff --git a/dlls/wininet/wininet.spec b/dlls/wininet/wininet.spec
index 6fcb3fd..5e21a40 100644
--- a/dlls/wininet/wininet.spec
+++ b/dlls/wininet/wininet.spec
@@ -31,6 +31,7 @@
 @ stdcall DeleteUrlCacheEntryA(str)
 @ stdcall DeleteUrlCacheEntryW(wstr)
 @ stdcall DeleteUrlCacheGroup(int64 long ptr)
+@ stdcall DeleteWpadCacheForNetworks(long)
 @ stdcall DetectAutoProxyUrl(str long long)
 @ stdcall -private DllInstall(long wstr)
 @ stdcall FindCloseUrlCache(long)
-- 
1.7.10.4


More information about the wine-patches mailing list