Alistair Leslie-Hughes : msxml3: Implement IXMLDOMProcessingInstruction put_data.
Alexandre Julliard
julliard at winehq.org
Mon Feb 25 06:51:46 CST 2008
Module: wine
Branch: master
Commit: cd3f18fbf2c63b249773891c94416fb60dfb970d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cd3f18fbf2c63b249773891c94416fb60dfb970d
Author: Alistair Leslie-Hughes <leslie_alistair at 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 =
More information about the wine-cvs
mailing list