Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
715edc16
Commit
715edc16
authored
Sep 26, 2007
by
Peter Oberndorfer
Committed by
Alexandre Julliard
Sep 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Add WinHttpGetIEProxyConfigForCurrentUser stub.
parent
073dd7dd
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
1 deletion
+35
-1
main.c
dlls/winhttp/main.c
+25
-0
winhttp.spec
dlls/winhttp/winhttp.spec
+1
-1
winhttp.h
include/winhttp.h
+9
-0
No files found.
dlls/winhttp/main.c
View file @
715edc16
...
@@ -82,9 +82,34 @@ HRESULT WINAPI DllUnregisterServer(void)
...
@@ -82,9 +82,34 @@ HRESULT WINAPI DllUnregisterServer(void)
return
S_OK
;
return
S_OK
;
}
}
/***********************************************************************
* WinHttpCheckPlatform (winhttp.@)
*/
BOOL
WINAPI
WinHttpCheckPlatform
(
void
)
BOOL
WINAPI
WinHttpCheckPlatform
(
void
)
{
{
FIXME
(
"stub
\n
"
);
FIXME
(
"stub
\n
"
);
SetLastError
(
ERROR_NOT_SUPPORTED
);
SetLastError
(
ERROR_NOT_SUPPORTED
);
return
FALSE
;
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
;
}
dlls/winhttp/winhttp.spec
View file @
715edc16
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
@ stub WinHttpCreateUrl
@ stub WinHttpCreateUrl
@ stub WinHttpDetectAutoProxyConfigUrl
@ stub WinHttpDetectAutoProxyConfigUrl
@ stub WinHttpGetDefaultProxyConfiguration
@ stub WinHttpGetDefaultProxyConfiguration
@ st
ub WinHttpGetIEProxyConfigForCurrentUser
@ st
dcall WinHttpGetIEProxyConfigForCurrentUser(ptr)
@ stub WinHttpGetProxyForUrl
@ stub WinHttpGetProxyForUrl
@ stub WinHttpOpen
@ stub WinHttpOpen
@ stub WinHttpOpenRequest
@ stub WinHttpOpenRequest
...
...
include/winhttp.h
View file @
715edc16
...
@@ -84,12 +84,21 @@ typedef struct
...
@@ -84,12 +84,21 @@ typedef struct
typedef
WINHTTP_PROXY_INFO
WINHTTP_PROXY_INFOW
;
typedef
WINHTTP_PROXY_INFO
WINHTTP_PROXY_INFOW
;
typedef
LPWINHTTP_PROXY_INFO
LPWINHTTP_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
#ifdef __cplusplus
extern
"C"
{
extern
"C"
{
#endif
#endif
BOOL
WINAPI
WinHttpCheckPlatform
(
void
);
BOOL
WINAPI
WinHttpCheckPlatform
(
void
);
BOOL
WINAPI
WinHttpGetIEProxyConfigForCurrentUser
(
WINHTTP_CURRENT_USER_IE_PROXY_CONFIG
*
config
);
#ifdef __cplusplus
#ifdef __cplusplus
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment