Commit 23db5357 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

winhttp: Add stubs for new proxy functions.

parent 968b3745
......@@ -2029,6 +2029,113 @@ BOOL WINAPI WinHttpSetDefaultProxyConfiguration( WINHTTP_PROXY_INFO *info )
}
/***********************************************************************
* 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.@)
*/
WINHTTP_STATUS_CALLBACK WINAPI WinHttpSetStatusCallback( HINTERNET handle, WINHTTP_STATUS_CALLBACK callback,
......
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment