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
8fc8823d
Commit
8fc8823d
authored
Sep 08, 2011
by
Thomas Mullaly
Committed by
Alexandre Julliard
Oct 10, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Added custom security manager support to MapUrlToZoneEx2.
parent
c9a8d3bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
sec_mgr.c
dlls/urlmon/sec_mgr.c
+24
-0
No files found.
dlls/urlmon/sec_mgr.c
View file @
8fc8823d
...
...
@@ -1070,6 +1070,30 @@ static HRESULT WINAPI SecManagerImpl_MapUrlToZoneEx2(IInternetSecurityManagerEx2
TRACE
(
"(%p)->(%p %p %08x %p %p)
\n
"
,
This
,
pUri
,
pdwZone
,
dwFlags
,
ppwszMappedUrl
,
pdwOutFlags
);
if
(
This
->
custom_manager
)
{
HRESULT
hres
;
IInternetSecurityManagerEx2
*
sec_mgr2
;
hres
=
IInternetSecurityManager_QueryInterface
(
This
->
custom_manager
,
&
IID_IInternetSecurityManagerEx2
,
(
void
**
)
&
sec_mgr2
);
if
(
SUCCEEDED
(
hres
))
{
hres
=
IInternetSecurityManagerEx2_MapUrlToZoneEx2
(
sec_mgr2
,
pUri
,
pdwZone
,
dwFlags
,
ppwszMappedUrl
,
pdwOutFlags
);
IInternetSecurityManagerEx2_Release
(
sec_mgr2
);
}
else
{
BSTR
url
;
hres
=
IUri_GetDisplayUri
(
pUri
,
&
url
);
if
(
FAILED
(
hres
))
return
hres
;
hres
=
IInternetSecurityManager_MapUrlToZone
(
This
->
custom_manager
,
url
,
pdwZone
,
dwFlags
);
SysFreeString
(
url
);
}
if
(
hres
!=
INET_E_DEFAULT_ACTION
)
return
hres
;
}
if
(
!
pdwZone
)
return
E_INVALIDARG
;
...
...
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