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
3b14acbd
Commit
3b14acbd
authored
Oct 24, 2022
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Oct 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Move the IHTMLDocument5 interface out of basedoc.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
527c2b28
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
1 deletion
+58
-1
htmldoc.c
dlls/mshtml/htmldoc.c
+0
-0
mshtml_private.h
dlls/mshtml/mshtml_private.h
+2
-1
oleobj.c
dlls/mshtml/oleobj.c
+56
-0
No files found.
dlls/mshtml/htmldoc.c
View file @
3b14acbd
This diff is collapsed.
Click to expand it.
dlls/mshtml/mshtml_private.h
View file @
3b14acbd
...
@@ -640,7 +640,6 @@ struct ConnectionPoint {
...
@@ -640,7 +640,6 @@ struct ConnectionPoint {
};
};
struct
HTMLDocument
{
struct
HTMLDocument
{
IHTMLDocument5
IHTMLDocument5_iface
;
IHTMLDocument6
IHTMLDocument6_iface
;
IHTMLDocument6
IHTMLDocument6_iface
;
IHTMLDocument7
IHTMLDocument7_iface
;
IHTMLDocument7
IHTMLDocument7_iface
;
IDispatchEx
IDispatchEx_iface
;
IDispatchEx
IDispatchEx_iface
;
...
@@ -680,6 +679,7 @@ struct HTMLDocumentObj {
...
@@ -680,6 +679,7 @@ struct HTMLDocumentObj {
IHTMLDocument2
IHTMLDocument2_iface
;
IHTMLDocument2
IHTMLDocument2_iface
;
IHTMLDocument3
IHTMLDocument3_iface
;
IHTMLDocument3
IHTMLDocument3_iface
;
IHTMLDocument4
IHTMLDocument4_iface
;
IHTMLDocument4
IHTMLDocument4_iface
;
IHTMLDocument5
IHTMLDocument5_iface
;
IDocumentSelector
IDocumentSelector_iface
;
IDocumentSelector
IDocumentSelector_iface
;
IDocumentEvent
IDocumentEvent_iface
;
IDocumentEvent
IDocumentEvent_iface
;
ISupportErrorInfo
ISupportErrorInfo_iface
;
ISupportErrorInfo
ISupportErrorInfo_iface
;
...
@@ -902,6 +902,7 @@ struct HTMLDocumentNode {
...
@@ -902,6 +902,7 @@ struct HTMLDocumentNode {
IHTMLDocument2
IHTMLDocument2_iface
;
IHTMLDocument2
IHTMLDocument2_iface
;
IHTMLDocument3
IHTMLDocument3_iface
;
IHTMLDocument3
IHTMLDocument3_iface
;
IHTMLDocument4
IHTMLDocument4_iface
;
IHTMLDocument4
IHTMLDocument4_iface
;
IHTMLDocument5
IHTMLDocument5_iface
;
IDocumentSelector
IDocumentSelector_iface
;
IDocumentSelector
IDocumentSelector_iface
;
IDocumentEvent
IDocumentEvent_iface
;
IDocumentEvent
IDocumentEvent_iface
;
ISupportErrorInfo
ISupportErrorInfo_iface
;
ISupportErrorInfo
ISupportErrorInfo_iface
;
...
...
dlls/mshtml/oleobj.c
View file @
3b14acbd
...
@@ -2668,6 +2668,59 @@ static const IHTMLDocument4Vtbl DocObjHTMLDocument4Vtbl = {
...
@@ -2668,6 +2668,59 @@ static const IHTMLDocument4Vtbl DocObjHTMLDocument4Vtbl = {
};
};
/**********************************************************
/**********************************************************
* IHTMLDocument5 implementation
*/
HTMLDOCUMENTOBJ_IDISPATCH_METHODS
(
HTMLDocument5
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
put_onmousewheel
,
VARIANT
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
get_onmousewheel
,
VARIANT
*
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
get_doctype
,
IHTMLDOMNode
**
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
get_implementation
,
IHTMLDOMImplementation
**
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_2
(
HTMLDocument5
,
createAttribute
,
BSTR
,
IHTMLDOMAttribute
**
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_2
(
HTMLDocument5
,
createComment
,
BSTR
,
IHTMLDOMNode
**
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
put_onfocusin
,
VARIANT
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
get_onfocusin
,
VARIANT
*
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
put_onfocusout
,
VARIANT
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
get_onfocusout
,
VARIANT
*
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
put_onactivate
,
VARIANT
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
get_onactivate
,
VARIANT
*
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
put_ondeactivate
,
VARIANT
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
get_ondeactivate
,
VARIANT
*
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
put_onbeforeactivate
,
VARIANT
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
get_onbeforeactivate
,
VARIANT
*
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
put_onbeforedeactivate
,
VARIANT
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
get_onbeforedeactivate
,
VARIANT
*
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument5
,
get_compatMode
,
BSTR
*
)
static
const
IHTMLDocument5Vtbl
DocObjHTMLDocument5Vtbl
=
{
DocObjHTMLDocument5_QueryInterface
,
DocObjHTMLDocument5_AddRef
,
DocObjHTMLDocument5_Release
,
DocObjHTMLDocument5_GetTypeInfoCount
,
DocObjHTMLDocument5_GetTypeInfo
,
DocObjHTMLDocument5_GetIDsOfNames
,
DocObjHTMLDocument5_Invoke
,
DocObjHTMLDocument5_put_onmousewheel
,
DocObjHTMLDocument5_get_onmousewheel
,
DocObjHTMLDocument5_get_doctype
,
DocObjHTMLDocument5_get_implementation
,
DocObjHTMLDocument5_createAttribute
,
DocObjHTMLDocument5_createComment
,
DocObjHTMLDocument5_put_onfocusin
,
DocObjHTMLDocument5_get_onfocusin
,
DocObjHTMLDocument5_put_onfocusout
,
DocObjHTMLDocument5_get_onfocusout
,
DocObjHTMLDocument5_put_onactivate
,
DocObjHTMLDocument5_get_onactivate
,
DocObjHTMLDocument5_put_ondeactivate
,
DocObjHTMLDocument5_get_ondeactivate
,
DocObjHTMLDocument5_put_onbeforeactivate
,
DocObjHTMLDocument5_get_onbeforeactivate
,
DocObjHTMLDocument5_put_onbeforedeactivate
,
DocObjHTMLDocument5_get_onbeforedeactivate
,
DocObjHTMLDocument5_get_compatMode
};
/**********************************************************
* ISupportErrorInfo implementation
* ISupportErrorInfo implementation
*/
*/
HTMLDOCUMENTOBJ_IUNKNOWN_METHODS
(
SupportErrorInfo
)
HTMLDOCUMENTOBJ_IUNKNOWN_METHODS
(
SupportErrorInfo
)
...
@@ -2923,6 +2976,8 @@ static HRESULT WINAPI HTMLDocumentObj_QueryInterface(IUnknown *iface, REFIID rii
...
@@ -2923,6 +2976,8 @@ static HRESULT WINAPI HTMLDocumentObj_QueryInterface(IUnknown *iface, REFIID rii
*
ppv
=
&
This
->
IHTMLDocument3_iface
;
*
ppv
=
&
This
->
IHTMLDocument3_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLDocument4
,
riid
))
{
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLDocument4
,
riid
))
{
*
ppv
=
&
This
->
IHTMLDocument4_iface
;
*
ppv
=
&
This
->
IHTMLDocument4_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLDocument5
,
riid
))
{
*
ppv
=
&
This
->
IHTMLDocument5_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_ICustomDoc
,
riid
))
{
}
else
if
(
IsEqualGUID
(
&
IID_ICustomDoc
,
riid
))
{
*
ppv
=
&
This
->
ICustomDoc_iface
;
*
ppv
=
&
This
->
ICustomDoc_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IDocumentSelector
,
riid
))
{
}
else
if
(
IsEqualGUID
(
&
IID_IDocumentSelector
,
riid
))
{
...
@@ -3242,6 +3297,7 @@ static HRESULT create_document_object(BOOL is_mhtml, IUnknown *outer, REFIID rii
...
@@ -3242,6 +3297,7 @@ static HRESULT create_document_object(BOOL is_mhtml, IUnknown *outer, REFIID rii
doc
->
IHTMLDocument2_iface
.
lpVtbl
=
&
DocObjHTMLDocument2Vtbl
;
doc
->
IHTMLDocument2_iface
.
lpVtbl
=
&
DocObjHTMLDocument2Vtbl
;
doc
->
IHTMLDocument3_iface
.
lpVtbl
=
&
DocObjHTMLDocument3Vtbl
;
doc
->
IHTMLDocument3_iface
.
lpVtbl
=
&
DocObjHTMLDocument3Vtbl
;
doc
->
IHTMLDocument4_iface
.
lpVtbl
=
&
DocObjHTMLDocument4Vtbl
;
doc
->
IHTMLDocument4_iface
.
lpVtbl
=
&
DocObjHTMLDocument4Vtbl
;
doc
->
IHTMLDocument5_iface
.
lpVtbl
=
&
DocObjHTMLDocument5Vtbl
;
doc
->
IDocumentSelector_iface
.
lpVtbl
=
&
DocObjDocumentSelectorVtbl
;
doc
->
IDocumentSelector_iface
.
lpVtbl
=
&
DocObjDocumentSelectorVtbl
;
doc
->
IDocumentEvent_iface
.
lpVtbl
=
&
DocObjDocumentEventVtbl
;
doc
->
IDocumentEvent_iface
.
lpVtbl
=
&
DocObjDocumentEventVtbl
;
doc
->
ISupportErrorInfo_iface
.
lpVtbl
=
&
DocObjSupportErrorInfoVtbl
;
doc
->
ISupportErrorInfo_iface
.
lpVtbl
=
&
DocObjSupportErrorInfoVtbl
;
...
...
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