Alistair Leslie-Hughes : msxml3: Implement IXMLDOMCDATASection put_data.

Alexandre Julliard julliard at winehq.org
Mon Feb 25 06:51:46 CST 2008


Module: wine
Branch: master
Commit: d0cd1ea89391daa21e4cabff290752e7ae9dbee6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d0cd1ea89391daa21e4cabff290752e7ae9dbee6

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Mon Feb 25 19:47:57 2008 +1100

msxml3: Implement IXMLDOMCDATASection put_data.

---

 dlls/msxml3/cdata.c |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dlls/msxml3/cdata.c b/dlls/msxml3/cdata.c
index 446b58c..e9203b1 100644
--- a/dlls/msxml3/cdata.c
+++ b/dlls/msxml3/cdata.c
@@ -483,8 +483,18 @@ static HRESULT WINAPI domcdata_put_data(
     IXMLDOMCDATASection *iface,
     BSTR data)
 {
-    FIXME("\n");
-    return E_NOTIMPL;
+    domcdata *This = impl_from_IXMLDOMCDATASection( iface );
+    HRESULT hr = E_FAIL;
+    VARIANT val;
+
+    TRACE("%p %s\n", This, debugstr_w(data) );
+
+    V_VT(&val) = VT_BSTR;
+    V_BSTR(&val) = data;
+
+    hr = IXMLDOMNode_put_nodeValue( This->element, val );
+
+    return hr;
 }
 
 static HRESULT WINAPI domcdata_get_length(




More information about the wine-cvs mailing list