Commit 9397fb2a authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3: Implement get_srcText().

parent 945dccb7
......@@ -243,8 +243,14 @@ static HRESULT WINAPI parseError_get_srcText(
BSTR *srcText )
{
parse_error_t *This = impl_from_IXMLDOMParseError( iface );
FIXME("(%p)->(%p)\n", This, srcText);
return E_NOTIMPL;
TRACE("(%p)->(%p)\n", This, srcText);
if (!srcText) return E_INVALIDARG;
*srcText = SysAllocString(This->srcText);
return S_OK;
}
static HRESULT WINAPI parseError_get_line(
......
......@@ -10767,7 +10767,7 @@ static void test_parseerror(void)
EXPECT_HR(hr, E_INVALIDARG);
hr = IXMLDOMParseError_get_srcText(error, NULL);
todo_wine EXPECT_HR(hr, E_INVALIDARG);
EXPECT_HR(hr, E_INVALIDARG);
hr = IXMLDOMParseError_get_linepos(error, NULL);
EXPECT_HR(hr, E_INVALIDARG);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment