Alistair Leslie-Hughes : msxml3: Implement IXMLDOMComment put_data.
Alexandre Julliard
julliard at winehq.org
Mon Feb 25 06:51:46 CST 2008
Module: wine
Branch: master
Commit: dfe23babe2846f450a7f7efc59ab61a4d4cbad65
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dfe23babe2846f450a7f7efc59ab61a4d4cbad65
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Mon Feb 25 19:53:06 2008 +1100
msxml3: Implement IXMLDOMComment put_data.
---
dlls/msxml3/comment.c | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/dlls/msxml3/comment.c b/dlls/msxml3/comment.c
index bbc9c47..3b09502 100644
--- a/dlls/msxml3/comment.c
+++ b/dlls/msxml3/comment.c
@@ -482,8 +482,18 @@ static HRESULT WINAPI domcomment_put_data(
IXMLDOMComment *iface,
BSTR data)
{
- FIXME("\n");
- return E_NOTIMPL;
+ domcomment *This = impl_from_IXMLDOMComment( 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->node, val );
+
+ return hr;
}
static HRESULT WINAPI domcomment_get_length(
More information about the wine-cvs
mailing list