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
f263b637
Commit
f263b637
authored
May 01, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
May 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IDispatchEx support to HTMLImgElement.
parent
6279de21
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
dispex.c
dlls/mshtml/dispex.c
+2
-0
htmlimg.c
dlls/mshtml/htmlimg.c
+15
-0
mshtml_private.h
dlls/mshtml/mshtml_private.h
+2
-0
No files found.
dlls/mshtml/dispex.c
View file @
f263b637
...
@@ -56,6 +56,7 @@ static REFIID tid_ids[] = {
...
@@ -56,6 +56,7 @@ static REFIID tid_ids[] = {
&
DIID_DispHTMLDocument
,
&
DIID_DispHTMLDocument
,
&
DIID_DispHTMLDOMTextNode
,
&
DIID_DispHTMLDOMTextNode
,
&
DIID_DispHTMLElementCollection
,
&
DIID_DispHTMLElementCollection
,
&
DIID_DispHTMLImg
,
&
DIID_DispHTMLInputElement
,
&
DIID_DispHTMLInputElement
,
&
DIID_DispHTMLOptionElement
,
&
DIID_DispHTMLOptionElement
,
&
DIID_DispHTMLStyle
,
&
DIID_DispHTMLStyle
,
...
@@ -73,6 +74,7 @@ static REFIID tid_ids[] = {
...
@@ -73,6 +74,7 @@ static REFIID tid_ids[] = {
&
IID_IHTMLElement
,
&
IID_IHTMLElement
,
&
IID_IHTMLElement2
,
&
IID_IHTMLElement2
,
&
IID_IHTMLElementCollection
,
&
IID_IHTMLElementCollection
,
&
IID_IHTMLImgElement
,
&
IID_IHTMLInputElement
,
&
IID_IHTMLInputElement
,
&
IID_IHTMLOptionElement
,
&
IID_IHTMLOptionElement
,
&
IID_IHTMLStyle
,
&
IID_IHTMLStyle
,
...
...
dlls/mshtml/htmlimg.c
View file @
f263b637
...
@@ -526,6 +526,20 @@ static const NodeImplVtbl HTMLImgElementImplVtbl = {
...
@@ -526,6 +526,20 @@ static const NodeImplVtbl HTMLImgElementImplVtbl = {
HTMLImgElement_destructor
HTMLImgElement_destructor
};
};
static
dispex_static_data_t
HTMLImgElement_dispex
=
{
NULL
,
DispHTMLImg_tid
,
NULL
,
{
IHTMLDOMNode_tid
,
IHTMLDOMNode2_tid
,
IHTMLElement_tid
,
IHTMLElement2_tid
,
IHTMLImgElement_tid
,
0
}
};
HTMLElement
*
HTMLImgElement_Create
(
nsIDOMHTMLElement
*
nselem
)
HTMLElement
*
HTMLImgElement_Create
(
nsIDOMHTMLElement
*
nselem
)
{
{
HTMLImgElement
*
ret
=
heap_alloc_zero
(
sizeof
(
HTMLImgElement
));
HTMLImgElement
*
ret
=
heap_alloc_zero
(
sizeof
(
HTMLImgElement
));
...
@@ -533,6 +547,7 @@ HTMLElement *HTMLImgElement_Create(nsIDOMHTMLElement *nselem)
...
@@ -533,6 +547,7 @@ HTMLElement *HTMLImgElement_Create(nsIDOMHTMLElement *nselem)
ret
->
lpHTMLImgElementVtbl
=
&
HTMLImgElementVtbl
;
ret
->
lpHTMLImgElementVtbl
=
&
HTMLImgElementVtbl
;
ret
->
element
.
node
.
vtbl
=
&
HTMLImgElementImplVtbl
;
ret
->
element
.
node
.
vtbl
=
&
HTMLImgElementImplVtbl
;
init_dispex
(
&
ret
->
element
.
node
.
dispex
,
(
IUnknown
*
)
HTMLIMG
(
ret
),
&
HTMLImgElement_dispex
);
HTMLElement_Init
(
&
ret
->
element
);
HTMLElement_Init
(
&
ret
->
element
);
return
&
ret
->
element
;
return
&
ret
->
element
;
...
...
dlls/mshtml/mshtml_private.h
View file @
f263b637
...
@@ -66,6 +66,7 @@ typedef enum {
...
@@ -66,6 +66,7 @@ typedef enum {
DispHTMLDocument_tid
,
DispHTMLDocument_tid
,
DispHTMLDOMTextNode_tid
,
DispHTMLDOMTextNode_tid
,
DispHTMLElementCollection_tid
,
DispHTMLElementCollection_tid
,
DispHTMLImg_tid
,
DispHTMLInputElement_tid
,
DispHTMLInputElement_tid
,
DispHTMLOptionElement_tid
,
DispHTMLOptionElement_tid
,
DispHTMLStyle_tid
,
DispHTMLStyle_tid
,
...
@@ -83,6 +84,7 @@ typedef enum {
...
@@ -83,6 +84,7 @@ typedef enum {
IHTMLElement_tid
,
IHTMLElement_tid
,
IHTMLElement2_tid
,
IHTMLElement2_tid
,
IHTMLElementCollection_tid
,
IHTMLElementCollection_tid
,
IHTMLImgElement_tid
,
IHTMLInputElement_tid
,
IHTMLInputElement_tid
,
IHTMLOptionElement_tid
,
IHTMLOptionElement_tid
,
IHTMLStyle_tid
,
IHTMLStyle_tid
,
...
...
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