wininet: add a stub for DeleteWpadCacheForNetworks
Austin English
austinenglish at gmail.com
Tue Dec 27 06:00:17 CST 2011
http://bugs.winehq.org/show_bug.cgi?id=28909
--
-Austin
-------------- next part --------------
diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c
index 391a525..5a38c86 100644
--- a/dlls/wininet/internet.c
+++ b/dlls/wininet/internet.c
@@ -4391,3 +4391,10 @@ DWORD WINAPI ShowClientAuthCerts(HWND parent)
FIXME("%p: stub\n", parent);
return 0;
}
+
+BOOL WINAPI DeleteWpadCacheForNetworks(int WPAD_CACHE_DELETE)
+{
+ FIXME(": stub\n");
+ return FALSE;
+}
+
diff --git a/dlls/wininet/wininet.spec b/dlls/wininet/wininet.spec
index 1e651b5..4038c85 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)
diff --git a/include/wininet.h b/include/wininet.h
index 6db41ca..d966be4 100644
--- a/include/wininet.h
+++ b/include/wininet.h
@@ -1722,6 +1722,13 @@ BOOL WINAPI InternetGetConnectedStateExW(LPDWORD, LPWSTR, DWORD, DWORD);
BOOL WINAPI InternetInitializeAutoProxyDll(DWORD);
BOOL WINAPI DetectAutoProxyUrl(LPSTR, DWORD, DWORD);
+typedef enum{
+ WPAD_CACHE_DELETE_CURRENT = 0x0,
+ WPAD_CACHE_DELETE_ALL = 0x1
+} WPAD_CACHE_DELETE;
+
+BOOL WINAPI DeleteWpadCacheForNetworks(int);
+
#ifdef __cplusplus
}
#endif
More information about the wine-patches
mailing list