msxml3: Return E_INVALIDARG on bad parameter.
This commit is contained in:
parent
d5fb2315cb
commit
8de2d5290a
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue