Signed-off-by: Hans Leidekker <hans(a)codeweavers.com>
---
dlls/winhttp/session.c | 107 ++++++++++++++++++++++++++++++++++++++
dlls/winhttp/winhttp.spec | 12 +++++
2 files changed, 119 insertions(+)
diff --git a/dlls/winhttp/session.c b/dlls/winhttp/session.c
index 186b70e4a2..228eb646ae 100644
--- a/dlls/winhttp/session.c
+++ b/dlls/winhttp/session.c
@@ -2028,6 +2028,113 @@ BOOL WINAPI WinHttpSetDefaultProxyConfiguration( WINHTTP_PROXY_INFO *info )
return ret;
}
+/***********************************************************************
+ * WinHttpCreateProxyResolver (winhttp.@)
+ */
+DWORD WINAPI WinHttpCreateProxyResolver( HINTERNET hsession, HINTERNET *hresolver )
+{
+ FIXME("%p, %p\n", hsession, hresolver);
+ return ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR;
+}
+
+/***********************************************************************
+ * WinHttpFreeProxyResult (winhttp.@)
+ */
+void WINAPI WinHttpFreeProxyResult( WINHTTP_PROXY_RESULT *result )
+{
+ FIXME("%p\n", result);
+}
+
+/***********************************************************************
+ * WinHttpFreeProxyResultEx (winhttp.@)
+ */
+void WINAPI WinHttpFreeProxyResultEx( WINHTTP_PROXY_RESULT_EX *result )
+{
+ FIXME("%p\n", result);
+}
+
+/***********************************************************************
+ * WinHttpFreeProxySettings (winhttp.@)
+ */
+void WINAPI WinHttpFreeProxySettings( WINHTTP_PROXY_SETTINGS *settings )
+{
+ FIXME("%p\n", settings);
+}
+
+/***********************************************************************
+ * WinHttpGetProxyForUrlEx (winhttp.@)
+ */
+DWORD WINAPI WinHttpGetProxyForUrlEx( HINTERNET hresolver, const WCHAR *url, WINHTTP_AUTOPROXY_OPTIONS *options,
+ DWORD_PTR ctx )
+{
+ FIXME("%p, %s, %p, %lx\n", hresolver, debugstr_w(url), options, ctx);
+ return ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR;
+}
+
+/***********************************************************************
+ * WinHttpGetProxyForUrlEx2 (winhttp.@)
+ */
+DWORD WINAPI WinHttpGetProxyForUrlEx2( HINTERNET hresolver, const WCHAR *url, WINHTTP_AUTOPROXY_OPTIONS *options,
+ DWORD selection_len, BYTE *selection, DWORD_PTR ctx )
+{
+ FIXME("%p, %s, %p, %u, %p, %lx\n", hresolver, debugstr_w(url), options, selection_len, selection, ctx);
+ return ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR;
+}
+
+/***********************************************************************
+ * WinHttpGetProxyResult (winhttp.@)
+ */
+DWORD WINAPI WinHttpGetProxyResult( HINTERNET hresolver, WINHTTP_PROXY_RESULT *result )
+{
+ FIXME("%p, %p\n", hresolver, result);
+ return ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR;
+}
+
+/***********************************************************************
+ * WinHttpGetProxyResultEx (winhttp.@)
+ */
+DWORD WINAPI WinHttpGetProxyResultEx( HINTERNET hresolver, WINHTTP_PROXY_RESULT_EX *result )
+{
+ FIXME("%p, %p\n", hresolver, result);
+ return ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR;
+}
+
+/***********************************************************************
+ * WinHttpGetProxySettingsVersion (winhttp.@)
+ */
+DWORD WINAPI WinHttpGetProxySettingsVersion( HINTERNET hsession, DWORD *version )
+{
+ FIXME("%p, %p\n", hsession, version);
+ return ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR;
+}
+
+/***********************************************************************
+ * WinHttpReadProxySettings (winhttp.@)
+ */
+DWORD WINAPI WinHttpReadProxySettings( HINTERNET hsession, const WCHAR *connection, BOOL use_defaults,
+ BOOL set_autodiscover, DWORD *version, BOOL *defaults_returned,
+ WINHTTP_PROXY_SETTINGS *settings)
+{
+ FIXME("%p, %s, %d, %d, %p, %p, %p\n", hsession, debugstr_w(connection), use_defaults, set_autodiscover,
+ version, defaults_returned, settings);
+ return ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR;
+}
+
+/***********************************************************************
+ * WinHttpResetAutoProxy (winhttp.@)
+ */
+DWORD WINAPI WinHttpResetAutoProxy( HINTERNET hsession, DWORD flags )
+{
+ FIXME("%p, %08x\n", hsession, flags);
+ return ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR;
+}
+
+DWORD WINAPI WinHttpWriteProxySettings( HINTERNET hsession, BOOL force, WINHTTP_PROXY_SETTINGS *settings )
+{
+ FIXME("%p, %d, %p\n", hsession, force, settings);
+ return ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR;
+}
+
/***********************************************************************
* WinHttpSetStatusCallback (winhttp.@)
*/
diff --git a/dlls/winhttp/winhttp.spec b/dlls/winhttp/winhttp.spec
index beace245a8..581918791e 100644
--- a/dlls/winhttp/winhttp.spec
+++ b/dlls/winhttp/winhttp.spec
@@ -7,11 +7,20 @@
@ stdcall WinHttpCloseHandle(ptr)
@ stdcall WinHttpConnect(ptr wstr long long)
@ stdcall WinHttpCrackUrl(wstr long long ptr)
+@ stdcall WinHttpCreateProxyResolver(ptr ptr)
@ stdcall WinHttpCreateUrl(ptr long ptr ptr)
@ stdcall WinHttpDetectAutoProxyConfigUrl(long ptr)
+@ stdcall WinHttpFreeProxyResult(ptr)
+@ stdcall WinHttpFreeProxyResultEx(ptr)
+@ stdcall WinHttpFreeProxySettings(ptr)
@ stdcall WinHttpGetDefaultProxyConfiguration(ptr)
@ stdcall WinHttpGetIEProxyConfigForCurrentUser(ptr)
@ stdcall WinHttpGetProxyForUrl(ptr wstr ptr ptr)
+@ stdcall WinHttpGetProxyForUrlEx(ptr wstr ptr ptr)
+@ stdcall WinHttpGetProxyForUrlEx2(ptr wstr ptr long ptr ptr)
+@ stdcall WinHttpGetProxyResult(ptr ptr)
+@ stdcall WinHttpGetProxyResultEx(ptr ptr)
+@ stdcall WinHttpGetProxySettingsVersion(ptr ptr)
@ stdcall WinHttpOpen(wstr long wstr wstr long)
@ stdcall WinHttpOpenRequest(ptr wstr wstr wstr wstr ptr long)
@ stdcall WinHttpQueryAuthSchemes(ptr ptr ptr ptr)
@@ -19,7 +28,9 @@
@ stdcall WinHttpQueryHeaders(ptr long wstr ptr ptr ptr)
@ stdcall WinHttpQueryOption(ptr long ptr ptr)
@ stdcall WinHttpReadData(ptr ptr long ptr)
+@ stdcall WinHttpReadProxySettings(ptr wstr long long ptr ptr ptr)
@ stdcall WinHttpReceiveResponse(ptr ptr)
+@ stdcall WinHttpResetAutoProxy(ptr long)
@ stdcall WinHttpSendRequest(ptr wstr long ptr long long long)
@ stdcall WinHttpSetCredentials(ptr long long wstr ptr ptr)
@ stdcall WinHttpSetDefaultProxyConfiguration(ptr)
@@ -35,3 +46,4 @@
@ stdcall WinHttpWebSocketSend(ptr long ptr long)
@ stdcall WinHttpWebSocketShutdown(ptr long ptr long)
@ stdcall WinHttpWriteData(ptr ptr long ptr)
+@ stdcall WinHttpWriteProxySettings(ptr long ptr)
--
2.20.1