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
30087f96
Commit
30087f96
authored
Aug 31, 2009
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Sep 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Add IDispatchEx support to IXMLDOMElement.
parent
1ebce128
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
element.c
dlls/msxml3/element.c
+17
-1
domdoc.c
dlls/msxml3/tests/domdoc.c
+2
-0
No files found.
dlls/msxml3/element.c
View file @
30087f96
...
@@ -74,6 +74,10 @@ static HRESULT WINAPI domelem_QueryInterface(
...
@@ -74,6 +74,10 @@ static HRESULT WINAPI domelem_QueryInterface(
{
{
*
ppvObject
=
IXMLDOMNode_from_impl
(
This
->
node
);
*
ppvObject
=
IXMLDOMNode_from_impl
(
This
->
node
);
}
}
else
if
(
dispex_query_interface
(
&
This
->
node
->
dispex
,
riid
,
ppvObject
))
{
return
*
ppvObject
?
S_OK
:
E_NOINTERFACE
;
}
else
else
{
{
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
...
@@ -751,6 +755,18 @@ static const struct IXMLDOMElementVtbl domelem_vtbl =
...
@@ -751,6 +755,18 @@ static const struct IXMLDOMElementVtbl domelem_vtbl =
domelem_normalize
,
domelem_normalize
,
};
};
static
const
tid_t
domelem_iface_tids
[]
=
{
IXMLDOMElement_tid
,
0
};
static
dispex_static_data_t
domelem_dispex
=
{
NULL
,
IXMLDOMElement_tid
,
NULL
,
domelem_iface_tids
};
IUnknown
*
create_element
(
xmlNodePtr
element
)
IUnknown
*
create_element
(
xmlNodePtr
element
)
{
{
domelem
*
This
;
domelem
*
This
;
...
@@ -762,7 +778,7 @@ IUnknown* create_element( xmlNodePtr element )
...
@@ -762,7 +778,7 @@ IUnknown* create_element( xmlNodePtr element )
This
->
lpVtbl
=
&
domelem_vtbl
;
This
->
lpVtbl
=
&
domelem_vtbl
;
This
->
ref
=
1
;
This
->
ref
=
1
;
This
->
node
=
create_basic_node
(
element
,
(
IUnknown
*
)
&
This
->
lpVtbl
,
NULL
);
This
->
node
=
create_basic_node
(
element
,
(
IUnknown
*
)
&
This
->
lpVtbl
,
&
domelem_dispex
);
if
(
!
This
->
node
)
if
(
!
This
->
node
)
{
{
HeapFree
(
GetProcessHeap
(),
0
,
This
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
dlls/msxml3/tests/domdoc.c
View file @
30087f96
...
@@ -599,6 +599,8 @@ static void test_domdoc( void )
...
@@ -599,6 +599,8 @@ static void test_domdoc( void )
IObjectIdentity
*
ident
;
IObjectIdentity
*
ident
;
BSTR
tag
=
NULL
;
BSTR
tag
=
NULL
;
test_disp
((
IUnknown
*
)
element
);
r
=
IXMLDOMElement_QueryInterface
(
element
,
&
IID_IObjectIdentity
,
(
LPVOID
*
)
&
ident
);
r
=
IXMLDOMElement_QueryInterface
(
element
,
&
IID_IObjectIdentity
,
(
LPVOID
*
)
&
ident
);
ok
(
r
==
E_NOINTERFACE
,
"ret %08x
\n
"
,
r
);
ok
(
r
==
E_NOINTERFACE
,
"ret %08x
\n
"
,
r
);
...
...
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