winhttp: Add stubs for new proxy functions.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hans Leidekker 2020-06-25 11:00:25 +02:00 committed by Alexandre Julliard
parent 968b3745bb
commit 23db5357bb
2 changed files with 119 additions and 0 deletions

View File

@ -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.@)
*/

View File

@ -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)