Implement IXMLDOMNode::hasChildNode().
This commit is contained in:
parent
ded8dd8b82
commit
da3393d4d7
|
@ -382,8 +382,20 @@ static HRESULT WINAPI xmlnode_hasChildNodes(
|
||||||
IXMLDOMNode *iface,
|
IXMLDOMNode *iface,
|
||||||
VARIANT_BOOL* hasChild)
|
VARIANT_BOOL* hasChild)
|
||||||
{
|
{
|
||||||
FIXME("\n");
|
xmlnode *This = impl_from_IXMLDOMNode( iface );
|
||||||
return E_NOTIMPL;
|
|
||||||
|
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(
|
static HRESULT WINAPI xmlnode_get_ownerDocument(
|
||||||
|
|
Loading…
Reference in New Issue