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
0133683c
Commit
0133683c
authored
Jun 04, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Added support for undocumented InternetQueryOption(98).
parent
2aa6c460
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
http.c
dlls/wininet/http.c
+3
-0
http.c
dlls/wininet/tests/http.c
+7
-0
No files found.
dlls/wininet/http.c
View file @
0133683c
...
...
@@ -1987,6 +1987,9 @@ static DWORD HTTPREQ_QueryOption(object_header_t *hdr, DWORD option, void *buffe
return
ERROR_SUCCESS
;
}
case
98
:
TRACE
(
"Queried undocumented option 98, forwarding to INTERNET_OPTION_SECURITY_FLAGS
\n
"
);
/* fall through */
case
INTERNET_OPTION_SECURITY_FLAGS
:
{
DWORD
flags
;
...
...
dlls/wininet/tests/http.c
View file @
0133683c
...
...
@@ -2928,6 +2928,13 @@ static void _test_secflags_option(unsigned line, HINTERNET req, DWORD ex_flags)
res
=
InternetQueryOptionW
(
req
,
INTERNET_OPTION_SECURITY_FLAGS
,
&
flags
,
&
size
);
ok_
(
__FILE__
,
line
)(
res
,
"InternetQueryOptionW(INTERNET_OPTION_SECURITY_FLAGS) failed: %u
\n
"
,
GetLastError
());
ok_
(
__FILE__
,
line
)(
flags
==
ex_flags
,
"INTERNET_OPTION_SECURITY_FLAGS flags = %x, expected %x
\n
"
,
flags
,
ex_flags
);
/* Option 98 is undocumented and seems to be the same as INTERNET_OPTION_SECURITY_FLAGS */
flags
=
0xdeadbeef
;
size
=
sizeof
(
flags
);
res
=
InternetQueryOptionW
(
req
,
98
,
&
flags
,
&
size
);
ok_
(
__FILE__
,
line
)(
res
,
"InternetQueryOptionW(INTERNET_OPTION_SECURITY_FLAGS) failed: %u
\n
"
,
GetLastError
());
ok_
(
__FILE__
,
line
)(
flags
==
ex_flags
,
"INTERNET_OPTION_SECURITY_FLAGS flags = %x, expected %x
\n
"
,
flags
,
ex_flags
);
}
#define set_secflags(a,b) _set_secflags(__LINE__,a,b)
...
...
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