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
60401737
Commit
60401737
authored
Feb 25, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Feb 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Add stub for INTERNET_OPTION_PER_CONNECTION.
parent
a01bfc26
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
internet.c
dlls/wininet/internet.c
+41
-0
No files found.
dlls/wininet/internet.c
View file @
60401737
...
...
@@ -2400,6 +2400,47 @@ static BOOL INET_QueryOptionHelper(BOOL bIsUnicode, HINTERNET hInternet, DWORD d
}
break
;
}
case
INTERNET_OPTION_PER_CONNECTION_OPTION
:
FIXME
(
"INTERNET_OPTION_PER_CONNECTION_OPTION stub
\n
"
);
if
(
*
lpdwBufferLength
<
sizeof
(
INTERNET_PER_CONN_OPTION_LISTW
))
INTERNET_SetLastError
(
ERROR_INSUFFICIENT_BUFFER
);
else
{
INTERNET_PER_CONN_OPTION_LISTW
*
con
=
lpBuffer
;
int
x
;
bSuccess
=
TRUE
;
for
(
x
=
0
;
x
<
con
->
dwOptionCount
;
++
x
)
{
INTERNET_PER_CONN_OPTIONW
*
option
=
con
->
pOptions
+
x
;
switch
(
option
->
dwOption
)
{
case
INTERNET_PER_CONN_FLAGS
:
option
->
Value
.
dwValue
=
PROXY_TYPE_DIRECT
;
break
;
case
INTERNET_PER_CONN_PROXY_SERVER
:
case
INTERNET_PER_CONN_PROXY_BYPASS
:
case
INTERNET_PER_CONN_AUTOCONFIG_URL
:
case
INTERNET_PER_CONN_AUTODISCOVERY_FLAGS
:
case
INTERNET_PER_CONN_AUTOCONFIG_SECONDARY_URL
:
case
INTERNET_PER_CONN_AUTOCONFIG_RELOAD_DELAY_MINS
:
case
INTERNET_PER_CONN_AUTOCONFIG_LAST_DETECT_TIME
:
case
INTERNET_PER_CONN_AUTOCONFIG_LAST_DETECT_URL
:
FIXME
(
"Unhandled dwOption %d
\n
"
,
option
->
dwOption
);
option
->
Value
.
dwValue
=
0
;
bSuccess
=
FALSE
;
break
;
default:
FIXME
(
"Unknown dwOption %d
\n
"
,
option
->
dwOption
);
bSuccess
=
FALSE
;
break
;
}
}
if
(
!
bSuccess
)
INTERNET_SetLastError
(
ERROR_INVALID_PARAMETER
);
}
break
;
default:
FIXME
(
"Stub! %d
\n
"
,
dwOption
);
break
;
...
...
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