Alistair Leslie-Hughes : msxml3: Implement IXMLDOMProcessingInstruction put_data.
Module: wine Branch: master Commit: cd3f18fbf2c63b249773891c94416fb60dfb970d URL: http://source.winehq.org/git/wine.git/?a=commit;h=cd3f18fbf2c63b249773891c94... Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Mon Feb 25 19:49:18 2008 +1100 msxml3: Implement IXMLDOMProcessingInstruction put_data. --- dlls/msxml3/pi.c | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dlls/msxml3/pi.c b/dlls/msxml3/pi.c index fcef7a0..90425fd 100644 --- a/dlls/msxml3/pi.c +++ b/dlls/msxml3/pi.c @@ -503,8 +503,18 @@ static HRESULT WINAPI dom_pi_put_data( IXMLDOMProcessingInstruction *iface, BSTR data) { - FIXME("\n"); - return E_NOTIMPL; + dom_pi *This = impl_from_IXMLDOMProcessingInstruction( 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 const struct IXMLDOMProcessingInstructionVtbl dom_pi_vtbl =
participants (1)
-
Alexandre Julliard