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
982dce48
Commit
982dce48
authored
Jun 29, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 29, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IConnectionPointContainer implementation to HTMLBodyElement.
parent
88f4fb1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
htmlbody.c
dlls/mshtml/htmlbody.c
+8
-0
No files found.
dlls/mshtml/htmlbody.c
View file @
982dce48
...
...
@@ -40,6 +40,8 @@ typedef struct {
HTMLTextContainer
text_container
;
ConnectionPointContainer
cp_container
;
HTMLElement
*
element
;
nsIDOMHTMLBodyElement
*
nsbody
;
}
HTMLBodyElement
;
...
...
@@ -68,6 +70,9 @@ static HRESULT WINAPI HTMLBodyElement_QueryInterface(IHTMLBodyElement *iface,
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLTextContainer
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLTextContainer %p)
\n
"
,
This
,
ppv
);
*
ppv
=
HTMLTEXTCONT
(
&
This
->
text_container
);
}
else
if
(
IsEqualGUID
(
&
IID_IConnectionPointContainer
,
riid
))
{
TRACE
(
"(%p)->(IID_IConnectionPointContainer %p)
\n
"
,
This
,
ppv
);
*
ppv
=
CONPTCONT
(
&
This
->
cp_container
);
}
if
(
*
ppv
)
{
...
...
@@ -428,6 +433,7 @@ static void HTMLBodyElement_destructor(IUnknown *iface)
{
HTMLBodyElement
*
This
=
HTMLBODY_THIS
(
iface
);
ConnectionPointContainer_Destroy
(
&
This
->
cp_container
);
nsIDOMHTMLBodyElement_Release
(
This
->
nsbody
);
mshtml_free
(
This
);
}
...
...
@@ -487,6 +493,8 @@ void HTMLBodyElement_Create(HTMLElement *element)
HTMLTextContainer_Init
(
&
ret
->
text_container
,
element
);
ConnectionPointContainer_Init
(
&
ret
->
cp_container
,
NULL
,
(
IUnknown
*
)
HTMLBODY
(
ret
));
nsres
=
nsIDOMHTMLElement_QueryInterface
(
element
->
nselem
,
&
IID_nsIDOMHTMLBodyElement
,
(
void
**
)
&
ret
->
nsbody
);
if
(
NS_FAILED
(
nsres
))
...
...
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