msxml3: Implement IXMLDOMProcessingInstruction put_data.

This commit is contained in:
Alistair Leslie-Hughes 2008-02-25 19:49:18 +11:00 committed by Alexandre Julliard
parent d0cd1ea893
commit cd3f18fbf2
1 changed files with 12 additions and 2 deletions

View File

@ -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 =