Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
8f07fbcd
Commit
8f07fbcd
authored
Feb 13, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Added IsInternetESCEnabledLocal implementation.
parent
9756550c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
0 deletions
+36
-0
sec_mgr.c
dlls/urlmon/sec_mgr.c
+35
-0
urlmon.spec
dlls/urlmon/urlmon.spec
+1
-0
No files found.
dlls/urlmon/sec_mgr.c
View file @
8f07fbcd
...
...
@@ -49,6 +49,12 @@ static const WCHAR wszZonesKey[] = {'S','o','f','t','w','a','r','e','\\',
'C'
,
'u'
,
'r'
,
'r'
,
'e'
,
'n'
,
't'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
'\\'
,
'I'
,
'n'
,
't'
,
'e'
,
'r'
,
'n'
,
'e'
,
't'
,
' '
,
'S'
,
'e'
,
't'
,
't'
,
'i'
,
'n'
,
'g'
,
's'
,
'\\'
,
'Z'
,
'o'
,
'n'
,
'e'
,
's'
,
'\\'
,
0
};
static
const
WCHAR
zone_map_keyW
[]
=
{
'S'
,
'o'
,
'f'
,
't'
,
'w'
,
'a'
,
'r'
,
'e'
,
'\\'
,
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
'\\'
,
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
'\\'
,
'C'
,
'u'
,
'r'
,
'r'
,
'e'
,
'n'
,
't'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
'\\'
,
'I'
,
'n'
,
't'
,
'e'
,
'r'
,
'n'
,
'e'
,
't'
,
' '
,
'S'
,
'e'
,
't'
,
't'
,
'i'
,
'n'
,
'g'
,
's'
,
'\\'
,
'Z'
,
'o'
,
'n'
,
'e'
,
'M'
,
'a'
,
'p'
,
0
};
static
const
WCHAR
wszZoneMapDomainsKey
[]
=
{
'S'
,
'o'
,
'f'
,
't'
,
'w'
,
'a'
,
'r'
,
'e'
,
'\\'
,
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
'\\'
,
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
'\\'
,
...
...
@@ -2067,3 +2073,32 @@ HRESULT WINAPI CompareSecurityIds(BYTE *secid1, DWORD size1, BYTE *secid2, DWORD
FIXME
(
"(%p %d %p %d %x)
\n
"
,
secid1
,
size1
,
secid2
,
size2
,
reserved
);
return
E_NOTIMPL
;
}
/********************************************************************
* IsInternetESCEnabledLocal (URLMON.108)
*
* Undocumented, returns if IE is running in Enhanced Security Configuration.
*/
BOOL
WINAPI
IsInternetESCEnabledLocal
(
void
)
{
static
BOOL
esc_initialized
,
esc_enabled
;
TRACE
(
"()
\n
"
);
if
(
!
esc_initialized
)
{
DWORD
type
,
size
,
val
;
HKEY
zone_map
;
static
const
WCHAR
iehardenW
[]
=
{
'I'
,
'E'
,
'H'
,
'a'
,
'r'
,
'd'
,
'e'
,
'n'
,
0
};
if
(
RegOpenKeyExW
(
HKEY_CURRENT_USER
,
zone_map_keyW
,
0
,
KEY_QUERY_VALUE
,
&
zone_map
)
==
ERROR_SUCCESS
)
{
size
=
sizeof
(
DWORD
);
if
(
RegQueryValueExW
(
zone_map
,
iehardenW
,
NULL
,
&
type
,
(
BYTE
*
)
&
val
,
&
size
)
==
ERROR_SUCCESS
)
esc_enabled
=
type
==
REG_DWORD
&&
val
!=
0
;
RegCloseKey
(
zone_map
);
}
esc_initialized
=
TRUE
;
}
return
esc_enabled
;
}
dlls/urlmon/urlmon.spec
View file @
8f07fbcd
...
...
@@ -95,6 +95,7 @@
@ stub WriteHitLogging
@ stub ZonesReInit
108 stdcall @() IsInternetESCEnabledLocal
111 stdcall @(wstr) IsProtectedModeURL
328 stdcall @(ptr ptr) propsys.VariantCompare
329 stdcall @(ptr ptr) propsys.VariantToGUID
...
...
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