Alistair Leslie-Hughes : msxml3: Implement IXMLDOMText put_data.
Module: wine Branch: master Commit: 1e3153a7b7f8f2d44f11af63946cbc42775c9eb3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1e3153a7b7f8f2d44f11af6394... Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Mon Feb 25 19:50:33 2008 +1100 msxml3: Implement IXMLDOMText put_data. --- dlls/msxml3/text.c | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dlls/msxml3/text.c b/dlls/msxml3/text.c index 031e5a9..d3a1542 100644 --- a/dlls/msxml3/text.c +++ b/dlls/msxml3/text.c @@ -483,8 +483,18 @@ static HRESULT WINAPI domtext_put_data( IXMLDOMText *iface, BSTR data) { - FIXME("\n"); - return E_NOTIMPL; + domtext *This = impl_from_IXMLDOMText( 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 domtext_get_length(
participants (1)
-
Alexandre Julliard