Hans Leidekker : winhttp: Add a stub implementation of WinHttpDetectAutoProxyConfigUrl.
Alexandre Julliard
julliard at winehq.org
Thu Mar 6 11:08:35 CST 2008
Module: wine
Branch: master
Commit: 3e3ce1fa5e7352a1894ddab976027e0110cf84b0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3e3ce1fa5e7352a1894ddab976027e0110cf84b0
Author: Hans Leidekker <hans at it.vu.nl>
Date: Wed Mar 5 22:04:04 2008 +0100
winhttp: Add a stub implementation of WinHttpDetectAutoProxyConfigUrl.
---
dlls/winhttp/main.c | 11 +++++++++++
dlls/winhttp/winhttp.spec | 2 +-
include/winhttp.h | 2 ++
3 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/dlls/winhttp/main.c b/dlls/winhttp/main.c
index c3616b6..e90d6b4 100644
--- a/dlls/winhttp/main.c
+++ b/dlls/winhttp/main.c
@@ -94,6 +94,17 @@ BOOL WINAPI WinHttpCheckPlatform(void)
}
/***********************************************************************
+ * WinHttpDetectAutoProxyConfigUrl (winhttp.@)
+ */
+BOOL WINAPI WinHttpDetectAutoProxyConfigUrl(DWORD flags, LPWSTR *url)
+{
+ FIXME("(%x %p)\n", flags, url);
+
+ SetLastError(ERROR_WINHTTP_AUTODETECTION_FAILED);
+ return FALSE;
+}
+
+/***********************************************************************
* WinHttpGetIEProxyConfigForCurrentUser (winhttp.@)
*/
BOOL WINAPI WinHttpGetIEProxyConfigForCurrentUser(WINHTTP_CURRENT_USER_IE_PROXY_CONFIG* config)
diff --git a/dlls/winhttp/winhttp.spec b/dlls/winhttp/winhttp.spec
index e1562b6..912ff6a 100644
--- a/dlls/winhttp/winhttp.spec
+++ b/dlls/winhttp/winhttp.spec
@@ -8,7 +8,7 @@
@ stub WinHttpConnect
@ stub WinHttpCrackUrl
@ stub WinHttpCreateUrl
-@ stub WinHttpDetectAutoProxyConfigUrl
+@ stdcall WinHttpDetectAutoProxyConfigUrl(long ptr)
@ stub WinHttpGetDefaultProxyConfiguration
@ stdcall WinHttpGetIEProxyConfigForCurrentUser(ptr)
@ stub WinHttpGetProxyForUrl
diff --git a/include/winhttp.h b/include/winhttp.h
index c57563d..ef2caff 100644
--- a/include/winhttp.h
+++ b/include/winhttp.h
@@ -60,6 +60,8 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME;
#define WINHTTP_ERROR_BASE 12000
+#define ERROR_WINHTTP_AUTODETECTION_FAILED (WINHTTP_ERROR_BASE + 180)
+
typedef struct
{
DWORD dwStructSize;
More information about the wine-cvs
mailing list