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
79d7ca60
Commit
79d7ca60
authored
Apr 18, 2010
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Apr 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Implement SHRestricted2A.
parent
80878d00
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
shdocvw.spec
dlls/shdocvw/shdocvw.spec
+1
-1
shdocvw_main.c
dlls/shdocvw/shdocvw_main.c
+21
-0
No files found.
dlls/shdocvw/shdocvw.spec
View file @
79d7ca60
...
...
@@ -40,7 +40,7 @@
151 stdcall -noname URLSubRegQueryA(str str long ptr long long)
152 stub -noname CShellUIHelper_CreateInstance2
153 stub -noname IsURLChild
158 st
ub -noname SHRestricted2A
158 st
dcall -noname SHRestricted2A(long str long)
159 stdcall -noname SHRestricted2W(long wstr long)
160 stub -noname SHIsRestricted2W
161 stub @ # CSearchAssistantOC::OnDraw
...
...
dlls/shdocvw/shdocvw_main.c
View file @
79d7ca60
...
...
@@ -440,3 +440,24 @@ DWORD WINAPI SHRestricted2W(DWORD res, LPCWSTR url, DWORD reserved)
FIXME
(
"(%d %s %d) stub
\n
"
,
res
,
debugstr_w
(
url
),
reserved
);
return
0
;
}
/******************************************************************
* SHRestricted2A (SHDOCVW.158)
*
* See SHRestricted2W
*/
DWORD
WINAPI
SHRestricted2A
(
DWORD
restriction
,
LPCSTR
url
,
DWORD
reserved
)
{
LPWSTR
urlW
=
NULL
;
DWORD
res
;
TRACE
(
"(%d, %s, %d)
\n
"
,
restriction
,
debugstr_a
(
url
),
reserved
);
if
(
url
)
{
DWORD
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
url
,
-
1
,
NULL
,
0
);
urlW
=
heap_alloc
(
len
*
sizeof
(
WCHAR
));
MultiByteToWideChar
(
CP_ACP
,
0
,
url
,
-
1
,
urlW
,
len
);
}
res
=
SHRestricted2W
(
restriction
,
urlW
,
reserved
);
heap_free
(
urlW
);
return
res
;
}
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