Commit 8de2d529 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

msxml3: Return E_INVALIDARG on bad parameter.

parent d5fb2315
......@@ -671,7 +671,10 @@ static HRESULT WINAPI domdoc_get_documentElement(
IXMLDOMNode *element_node;
HRESULT hr;
TRACE("%p\n", This);
TRACE("%p %p\n", This, This->node);
if(!DOMElement)
return E_INVALIDARG;
*DOMElement = NULL;
......
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