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
223df167
Commit
223df167
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 domdoc_put_documentElement.
parent
26b95dc7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
domdoc.c
dlls/msxml3/domdoc.c
+18
-4
No files found.
dlls/msxml3/domdoc.c
View file @
223df167
...
@@ -914,12 +914,26 @@ static HRESULT WINAPI domdoc_get_documentElement(
...
@@ -914,12 +914,26 @@ static HRESULT WINAPI domdoc_get_documentElement(
}
}
static
HRESULT
WINAPI
domdoc_documentElement
(
static
HRESULT
WINAPI
domdoc_
put_
documentElement
(
IXMLDOMDocument2
*
iface
,
IXMLDOMDocument2
*
iface
,
IXMLDOMElement
*
DOMElement
)
IXMLDOMElement
*
DOMElement
)
{
{
FIXME
(
"
\n
"
);
domdoc
*
This
=
impl_from_IXMLDOMDocument2
(
iface
);
return
E_NOTIMPL
;
IXMLDOMNode
*
elementNode
;
xmlnode
*
xmlNode
;
HRESULT
hr
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
DOMElement
);
hr
=
IXMLDOMElement_QueryInterface
(
DOMElement
,
&
IID_IXMLDOMNode
,
(
void
**
)
&
elementNode
);
if
(
FAILED
(
hr
))
return
hr
;
xmlNode
=
impl_from_IXMLDOMNode
(
elementNode
);
xmlDocSetRootElement
(
get_doc
(
This
),
xmlNode
->
node
);
IXMLDOMNode_Release
(
elementNode
);
return
S_OK
;
}
}
...
@@ -1931,7 +1945,7 @@ static const struct IXMLDOMDocument2Vtbl domdoc_vtbl =
...
@@ -1931,7 +1945,7 @@ static const struct IXMLDOMDocument2Vtbl domdoc_vtbl =
domdoc_get_doctype
,
domdoc_get_doctype
,
domdoc_get_implementation
,
domdoc_get_implementation
,
domdoc_get_documentElement
,
domdoc_get_documentElement
,
domdoc_documentElement
,
domdoc_
put_
documentElement
,
domdoc_createElement
,
domdoc_createElement
,
domdoc_createDocumentFragment
,
domdoc_createDocumentFragment
,
domdoc_createTextNode
,
domdoc_createTextNode
,
...
...
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