winhttp: Add WinHttpGetIEProxyConfigForCurrentUser stub.
This commit is contained in:
parent
073dd7dde2
commit
715edc1633
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue