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
6e2ebcd1
Commit
6e2ebcd1
authored
Jul 05, 2016
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 06, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLDocument6::get_documentMode implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bda4b35a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
+23
-4
htmldoc.c
dlls/mshtml/htmldoc.c
+23
-4
No files found.
dlls/mshtml/htmldoc.c
View file @
6e2ebcd1
...
...
@@ -3053,12 +3053,31 @@ static HRESULT WINAPI HTMLDocument6_get_compatible(IHTMLDocument6 *iface,
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument6_get_documentMode
(
IHTMLDocument6
*
iface
,
VARIANT
*
p
)
static
HRESULT
WINAPI
HTMLDocument6_get_documentMode
(
IHTMLDocument6
*
iface
,
VARIANT
*
p
)
{
HTMLDocument
*
This
=
impl_from_IHTMLDocument6
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
static
const
int
docmode_values
[]
=
{
5
,
/* DOCMODE_QUIRKS */
7
,
/* DOCMODE_IE7 */
8
,
/* DOCMODE_IE8 */
9
,
/* DOCMODE_IE8 */
10
,
/* DOCMODE_IE10 */
11
/* DOCMODE_IE11 */
};
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
if
(
!
This
->
doc_node
)
{
FIXME
(
"NULL doc_node
\n
"
);
return
E_UNEXPECTED
;
}
assert
(
This
->
doc_node
->
document_mode
<
sizeof
(
docmode_values
)
/
sizeof
(
*
docmode_values
));
V_VT
(
p
)
=
VT_I4
;
V_I4
(
p
)
=
docmode_values
[
This
->
doc_node
->
document_mode
];
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLDocument6_get_onstorage
(
IHTMLDocument6
*
iface
,
...
...
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