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
800463c2
Commit
800463c2
authored
Jul 08, 2008
by
Piotr Caban
Committed by
Alexandre Julliard
Jul 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Implemented xmlnode_get_ownerDocument.
parent
7f84185a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
node.c
dlls/msxml3/node.c
+5
-2
domdoc.c
dlls/msxml3/tests/domdoc.c
+2
-4
No files found.
dlls/msxml3/node.c
View file @
800463c2
...
...
@@ -701,8 +701,11 @@ static HRESULT WINAPI xmlnode_get_ownerDocument(
IXMLDOMNode
*
iface
,
IXMLDOMDocument
**
DOMDocument
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
xmlnode
*
This
=
impl_from_IXMLDOMNode
(
iface
);
TRACE
(
"%p (%p)
\n
"
,
This
,
DOMDocument
);
return
DOMDocument_create_from_xmldoc
(
This
->
node
->
doc
,
(
IXMLDOMDocument2
**
)
DOMDocument
);
}
static
HRESULT
WINAPI
xmlnode_cloneNode
(
...
...
dlls/msxml3/tests/domdoc.c
View file @
800463c2
...
...
@@ -898,9 +898,7 @@ static void test_domnode( void )
{
owner
=
NULL
;
r
=
IXMLDOMNode_get_ownerDocument
(
element
,
&
owner
);
todo_wine
{
ok
(
r
==
S_OK
,
"get_ownerDocument return code
\n
"
);
}
ok
(
owner
!=
doc
,
"get_ownerDocument return
\n
"
);
type
=
NODE_INVALID
;
...
...
@@ -1260,7 +1258,7 @@ todo_wine
if
(
element
)
IXMLDOMElement_Release
(
element
);
if
(
doc
)
IXMLDOMDocument_Release
(
doc
);
ok
(
IXMLDOMDocument_Release
(
doc
)
==
0
,
"document is not destroyed
\n
"
);
}
static
void
test_refs
(
void
)
...
...
@@ -1608,7 +1606,7 @@ static void test_get_text(void)
r
=
IXMLDOMDocument_getElementsByTagName
(
doc
,
str
,
&
node_list
);
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
SysFreeString
(
str
);
r
=
IXMLDOMNodeList_QueryInterface
(
node_list
,
&
IID_IDispatch
,
NULL
);
ok
(
r
==
E_INVALIDARG
,
"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