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
ed10e504
Commit
ed10e504
authored
Mar 23, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLElement2 implementation.
parent
9c225446
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
0 deletions
+10
-0
Makefile.in
dlls/mshtml/Makefile.in
+1
-0
htmlelem.c
dlls/mshtml/htmlelem.c
+5
-0
htmlelem2.c
dlls/mshtml/htmlelem2.c
+0
-0
mshtml_private.h
dlls/mshtml/mshtml_private.h
+4
-0
No files found.
dlls/mshtml/Makefile.in
View file @
ed10e504
...
...
@@ -14,6 +14,7 @@ C_SRCS = \
htmldoc.c
\
htmldoc3.c
\
htmlelem.c
\
htmlelem2.c
\
htmlinput.c
\
htmlnode.c
\
htmlselect.c
\
...
...
dlls/mshtml/htmlelem.c
View file @
ed10e504
...
...
@@ -943,6 +943,9 @@ HRESULT HTMLElement_QI(HTMLElement *This, REFIID riid, void **ppv)
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLElement
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLElement %p)
\n
"
,
This
,
ppv
);
*
ppv
=
HTMLELEM
(
This
);
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLElement2
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLElement2 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
HTMLELEM2
(
This
);
}
if
(
*
ppv
)
{
...
...
@@ -975,6 +978,8 @@ void HTMLElement_Create(HTMLDOMNode *node)
node
->
impl
.
elem
=
HTMLELEM
(
ret
);
node
->
destructor
=
HTMLElement_destructor
;
HTMLElement2_Init
(
ret
);
nsres
=
nsIDOMNode_QueryInterface
(
node
->
nsnode
,
&
IID_nsIDOMHTMLElement
,
(
void
**
)
&
ret
->
nselem
);
if
(
NS_FAILED
(
nsres
))
return
;
...
...
dlls/mshtml/htmlelem2.c
0 → 100644
View file @
ed10e504
This diff is collapsed.
Click to expand it.
dlls/mshtml/mshtml_private.h
View file @
ed10e504
...
...
@@ -131,6 +131,7 @@ struct HTMLDOMNode {
typedef
struct
{
const
IHTMLElementVtbl
*
lpHTMLElementVtbl
;
const
IHTMLElement2Vtbl
*
lpHTMLElement2Vtbl
;
void
(
*
destructor
)(
IUnknown
*
);
...
...
@@ -168,6 +169,7 @@ typedef struct {
#define NSIFACEREQ(x) ((nsIInterfaceRequestor*) &(x)->lpInterfaceRequestorVtbl)
#define HTMLELEM(x) ((IHTMLElement*) &(x)->lpHTMLElementVtbl)
#define HTMLELEM2(x) ((IHTMLElement2*) &(x)->lpHTMLElement2Vtbl)
#define HTMLDOMNODE(x) ((IHTMLDOMNode*) &(x)->lpHTMLDOMNodeVtbl)
#define DEFINE_THIS(cls,ifc,iface) ((cls*)((BYTE*)(iface)-offsetof(cls,lp ## ifc ## Vtbl)))
...
...
@@ -216,6 +218,8 @@ void HTMLInputElement_Create(HTMLElement*);
void
HTMLSelectElement_Create
(
HTMLElement
*
);
void
HTMLTextAreaElement_Create
(
HTMLElement
*
);
void
HTMLElement2_Init
(
HTMLElement
*
);
HRESULT
HTMLDOMNode_QI
(
HTMLDOMNode
*
,
REFIID
,
void
**
);
HRESULT
HTMLElement_QI
(
HTMLElement
*
,
REFIID
,
void
**
);
...
...
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