static HRESULT WINAPI domtext_get_firstChild( IXMLDOMText *iface, IXMLDOMNode** domNode) { domtext *This = impl_from_IXMLDOMText( iface ); return IXMLDOMNode_get_firstChild( IXMLDOMNode_from_impl(&This->node), domNode ); }
wchar_t * kull_m_xml_getTextValue(IXMLDOMNode *pNode, PCWSTR name) { wchar_t *result = NULL; IXMLDOMNode *pSingleNode, *pChild; BSTR bstrGeneric; if((IXMLDOMNode_selectSingleNode(pNode, (BSTR) name, &pSingleNode) == S_OK) && pSingleNode) { if((IXMLDOMNode_get_firstChild(pSingleNode, &pChild) == S_OK) && pChild) { if(IXMLDOMNode_get_text(pChild, &bstrGeneric) == S_OK) { kull_m_string_copy(&result, bstrGeneric); SysFreeString(bstrGeneric); } } } return result; }
static HRESULT WINAPI dom_pi_get_firstChild( IXMLDOMProcessingInstruction *iface, IXMLDOMNode** domNode) { dom_pi *This = impl_from_IXMLDOMProcessingInstruction( iface ); return IXMLDOMNode_get_firstChild( This->node, domNode ); }
static HRESULT WINAPI entityref_get_firstChild( IXMLDOMEntityReference *iface, IXMLDOMNode** domNode) { entityref *This = impl_from_IXMLDOMEntityReference( iface ); return IXMLDOMNode_get_firstChild( IXMLDOMNode_from_impl(&This->node), domNode ); }
static HRESULT WINAPI domcomment_get_firstChild( IXMLDOMComment *iface, IXMLDOMNode** domNode) { domcomment *This = impl_from_IXMLDOMComment( iface ); return IXMLDOMNode_get_firstChild( This->node, domNode ); }
static HRESULT WINAPI domattr_get_firstChild( IXMLDOMAttribute *iface, IXMLDOMNode** domNode) { domattr *This = impl_from_IXMLDOMAttribute( iface ); return IXMLDOMNode_get_firstChild( This->node, domNode ); }