diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c index dcb17b80f5b..3ffb947cf3b 100644 --- a/dlls/msxml3/node.c +++ b/dlls/msxml3/node.c @@ -382,8 +382,20 @@ static HRESULT WINAPI xmlnode_hasChildNodes( IXMLDOMNode *iface, VARIANT_BOOL* hasChild) { - FIXME("\n"); - return E_NOTIMPL; + xmlnode *This = impl_from_IXMLDOMNode( iface ); + + TRACE("%p\n", This); + + if (!hasChild) + return E_INVALIDARG; + if (!This->node->children) + { + *hasChild = VARIANT_FALSE; + return S_FALSE; + } + + *hasChild = VARIANT_TRUE; + return S_OK; } static HRESULT WINAPI xmlnode_get_ownerDocument(