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
75a8444a
Commit
75a8444a
authored
Feb 25, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Feb 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Implement IXMLDOMNode put_nodeValue.
parent
30f068a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
2 deletions
+28
-2
node.c
dlls/msxml3/node.c
+28
-2
No files found.
dlls/msxml3/node.c
View file @
75a8444a
...
...
@@ -284,8 +284,34 @@ static HRESULT WINAPI xmlnode_put_nodeValue(
IXMLDOMNode
*
iface
,
VARIANT
value
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
xmlnode
*
This
=
impl_from_IXMLDOMNode
(
iface
);
HRESULT
hr
=
S_FALSE
;
xmlChar
*
str
=
NULL
;
TRACE
(
"%p type(%d)"
,
This
,
This
->
node
->
type
);
/* Document, Document Fragment, Document Type, Element,
Entity, Entity Reference, Notation arent supported. */
switch
(
This
->
node
->
type
)
{
case
XML_ATTRIBUTE_NODE
:
case
XML_CDATA_SECTION_NODE
:
case
XML_COMMENT_NODE
:
case
XML_PI_NODE
:
case
XML_TEXT_NODE
:
{
str
=
xmlChar_from_wchar
((
WCHAR
*
)
V_BSTR
(
&
value
));
xmlNodeSetContent
(
This
->
node
,
str
);
hr
=
S_OK
;
break
;
}
default:
/* Do nothing for unsupported types. */
break
;
}
return
hr
;
}
static
HRESULT
WINAPI
xmlnode_get_nodeType
(
...
...
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