Commit 715edc16 authored by Peter Oberndorfer's avatar Peter Oberndorfer Committed by Alexandre Julliard

winhttp: Add WinHttpGetIEProxyConfigForCurrentUser stub.

parent 073dd7dd
......@@ -82,9 +82,34 @@ HRESULT WINAPI DllUnregisterServer(void)
return S_OK;
}
/***********************************************************************
* WinHttpCheckPlatform (winhttp.@)
*/
BOOL WINAPI WinHttpCheckPlatform(void)
{
FIXME("stub\n");
SetLastError(ERROR_NOT_SUPPORTED);
return FALSE;
}
/***********************************************************************
* WinHttpGetIEProxyConfigForCurrentUser (winhttp.@)
*/
BOOL WINAPI WinHttpGetIEProxyConfigForCurrentUser(WINHTTP_CURRENT_USER_IE_PROXY_CONFIG* config)
{
if(!config)
{
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
}
/* TODO: read from HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings */
FIXME("returning no proxy used\n");
config->fAutoDetect = FALSE;
config->lpszAutoConfigUrl = NULL;
config->lpszProxy = NULL;
config->lpszProxyBypass = NULL;
SetLastError(ERROR_SUCCESS);
return TRUE;
}
......@@ -10,7 +10,7 @@
@ stub WinHttpCreateUrl
@ stub WinHttpDetectAutoProxyConfigUrl
@ stub WinHttpGetDefaultProxyConfiguration
@ stub WinHttpGetIEProxyConfigForCurrentUser
@ stdcall WinHttpGetIEProxyConfigForCurrentUser(ptr)
@ stub WinHttpGetProxyForUrl
@ stub WinHttpOpen
@ stub WinHttpOpenRequest
......
......@@ -84,12 +84,21 @@ typedef struct
typedef WINHTTP_PROXY_INFO WINHTTP_PROXY_INFOW;
typedef LPWINHTTP_PROXY_INFO LPWINHTTP_PROXY_INFOW;
typedef struct
{
BOOL fAutoDetect;
LPWSTR lpszAutoConfigUrl;
LPWSTR lpszProxy;
LPWSTR lpszProxyBypass;
} WINHTTP_CURRENT_USER_IE_PROXY_CONFIG;
#ifdef __cplusplus
extern "C" {
#endif
BOOL WINAPI WinHttpCheckPlatform(void);
BOOL WINAPI WinHttpGetIEProxyConfigForCurrentUser(WINHTTP_CURRENT_USER_IE_PROXY_CONFIG* config);
#ifdef __cplusplus
}
......
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