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
527c2b28
Commit
527c2b28
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 IHTMLDocument4 interface out of basedoc.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
833a7a62
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
1 deletion
+48
-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
+46
-0
No files found.
dlls/mshtml/htmldoc.c
View file @
527c2b28
This diff is collapsed.
Click to expand it.
dlls/mshtml/mshtml_private.h
View file @
527c2b28
...
...
@@ -640,7 +640,6 @@ struct ConnectionPoint {
};
struct
HTMLDocument
{
IHTMLDocument4
IHTMLDocument4_iface
;
IHTMLDocument5
IHTMLDocument5_iface
;
IHTMLDocument6
IHTMLDocument6_iface
;
IHTMLDocument7
IHTMLDocument7_iface
;
...
...
@@ -680,6 +679,7 @@ struct HTMLDocumentObj {
ICustomDoc
ICustomDoc_iface
;
IHTMLDocument2
IHTMLDocument2_iface
;
IHTMLDocument3
IHTMLDocument3_iface
;
IHTMLDocument4
IHTMLDocument4_iface
;
IDocumentSelector
IDocumentSelector_iface
;
IDocumentEvent
IDocumentEvent_iface
;
ISupportErrorInfo
ISupportErrorInfo_iface
;
...
...
@@ -901,6 +901,7 @@ struct HTMLDocumentNode {
IHTMLDocument2
IHTMLDocument2_iface
;
IHTMLDocument3
IHTMLDocument3_iface
;
IHTMLDocument4
IHTMLDocument4_iface
;
IDocumentSelector
IDocumentSelector_iface
;
IDocumentEvent
IDocumentEvent_iface
;
ISupportErrorInfo
ISupportErrorInfo_iface
;
...
...
dlls/mshtml/oleobj.c
View file @
527c2b28
...
...
@@ -2625,6 +2625,49 @@ static const IHTMLDocument3Vtbl DocObjHTMLDocument3Vtbl = {
};
/**********************************************************
* IHTMLDocument4 implementation
*/
HTMLDOCUMENTOBJ_IDISPATCH_METHODS
(
HTMLDocument4
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_0
(
HTMLDocument4
,
focus
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument4
,
hasFocus
,
VARIANT_BOOL
*
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument4
,
put_onselectionchange
,
VARIANT
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument4
,
get_onselectionchange
,
VARIANT
*
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument4
,
get_namespaces
,
IDispatch
**
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_3
(
HTMLDocument4
,
createDocumentFromUrl
,
BSTR
,
BSTR
,
IHTMLDocument2
**
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument4
,
put_media
,
BSTR
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument4
,
get_media
,
BSTR
*
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_2
(
HTMLDocument4
,
createEventObject
,
VARIANT
*
,
IHTMLEventObj
**
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_3
(
HTMLDocument4
,
fireEvent
,
BSTR
,
VARIANT
*
,
VARIANT_BOOL
*
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_2
(
HTMLDocument4
,
createRenderStyle
,
BSTR
,
IHTMLRenderStyle
**
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument4
,
put_oncontrolselect
,
VARIANT
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument4
,
get_oncontrolselect
,
VARIANT
*
)
HTMLDOCUMENTOBJ_FWD_TO_NODE_1
(
HTMLDocument4
,
get_URLUnencoded
,
BSTR
*
)
static
const
IHTMLDocument4Vtbl
DocObjHTMLDocument4Vtbl
=
{
DocObjHTMLDocument4_QueryInterface
,
DocObjHTMLDocument4_AddRef
,
DocObjHTMLDocument4_Release
,
DocObjHTMLDocument4_GetTypeInfoCount
,
DocObjHTMLDocument4_GetTypeInfo
,
DocObjHTMLDocument4_GetIDsOfNames
,
DocObjHTMLDocument4_Invoke
,
DocObjHTMLDocument4_focus
,
DocObjHTMLDocument4_hasFocus
,
DocObjHTMLDocument4_put_onselectionchange
,
DocObjHTMLDocument4_get_onselectionchange
,
DocObjHTMLDocument4_get_namespaces
,
DocObjHTMLDocument4_createDocumentFromUrl
,
DocObjHTMLDocument4_put_media
,
DocObjHTMLDocument4_get_media
,
DocObjHTMLDocument4_createEventObject
,
DocObjHTMLDocument4_fireEvent
,
DocObjHTMLDocument4_createRenderStyle
,
DocObjHTMLDocument4_put_oncontrolselect
,
DocObjHTMLDocument4_get_oncontrolselect
,
DocObjHTMLDocument4_get_URLUnencoded
};
/**********************************************************
* ISupportErrorInfo implementation
*/
HTMLDOCUMENTOBJ_IUNKNOWN_METHODS
(
SupportErrorInfo
)
...
...
@@ -2878,6 +2921,8 @@ static HRESULT WINAPI HTMLDocumentObj_QueryInterface(IUnknown *iface, REFIID rii
*
ppv
=
&
This
->
IHTMLDocument2_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLDocument3
,
riid
))
{
*
ppv
=
&
This
->
IHTMLDocument3_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLDocument4
,
riid
))
{
*
ppv
=
&
This
->
IHTMLDocument4_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_ICustomDoc
,
riid
))
{
*
ppv
=
&
This
->
ICustomDoc_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IDocumentSelector
,
riid
))
{
...
...
@@ -3196,6 +3241,7 @@ static HRESULT create_document_object(BOOL is_mhtml, IUnknown *outer, REFIID rii
doc
->
ICustomDoc_iface
.
lpVtbl
=
&
CustomDocVtbl
;
doc
->
IHTMLDocument2_iface
.
lpVtbl
=
&
DocObjHTMLDocument2Vtbl
;
doc
->
IHTMLDocument3_iface
.
lpVtbl
=
&
DocObjHTMLDocument3Vtbl
;
doc
->
IHTMLDocument4_iface
.
lpVtbl
=
&
DocObjHTMLDocument4Vtbl
;
doc
->
IDocumentSelector_iface
.
lpVtbl
=
&
DocObjDocumentSelectorVtbl
;
doc
->
IDocumentEvent_iface
.
lpVtbl
=
&
DocObjDocumentEventVtbl
;
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