Commit 70edd9a7 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

msxml3: Don't use xmlnode's IXMLDOMNode iface for a few stub functions.

parent 16647d42
......@@ -391,18 +391,21 @@ static HRESULT WINAPI domattr_put_text(
static HRESULT WINAPI domattr_get_specified(
IXMLDOMAttribute *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isSpecified)
{
domattr *This = impl_from_IXMLDOMAttribute( iface );
return IXMLDOMNode_get_specified( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isSpecified);
*isSpecified = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI domattr_get_definition(
IXMLDOMAttribute *iface,
IXMLDOMNode** domNode)
IXMLDOMNode** definitionNode)
{
domattr *This = impl_from_IXMLDOMAttribute( iface );
return IXMLDOMNode_get_definition( IXMLDOMNode_from_impl(&This->node), domNode );
FIXME("(%p)->(%p)\n", This, definitionNode);
return E_NOTIMPL;
}
static HRESULT WINAPI domattr_get_nodeTypedValue(
......@@ -472,10 +475,12 @@ static HRESULT WINAPI domattr_selectSingleNode(
static HRESULT WINAPI domattr_get_parsed(
IXMLDOMAttribute *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isParsed)
{
domattr *This = impl_from_IXMLDOMAttribute( iface );
return IXMLDOMNode_get_parsed( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isParsed);
*isParsed = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI domattr_get_namespaceURI(
......
......@@ -402,18 +402,21 @@ static HRESULT WINAPI domcdata_put_text(
static HRESULT WINAPI domcdata_get_specified(
IXMLDOMCDATASection *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isSpecified)
{
domcdata *This = impl_from_IXMLDOMCDATASection( iface );
return IXMLDOMNode_get_specified( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isSpecified);
*isSpecified = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI domcdata_get_definition(
IXMLDOMCDATASection *iface,
IXMLDOMNode** domNode)
IXMLDOMNode** definitionNode)
{
domcdata *This = impl_from_IXMLDOMCDATASection( iface );
return IXMLDOMNode_get_definition( IXMLDOMNode_from_impl(&This->node), domNode );
FIXME("(%p)->(%p)\n", This, definitionNode);
return E_NOTIMPL;
}
static HRESULT WINAPI domcdata_get_nodeTypedValue(
......@@ -483,10 +486,12 @@ static HRESULT WINAPI domcdata_selectSingleNode(
static HRESULT WINAPI domcdata_get_parsed(
IXMLDOMCDATASection *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isParsed)
{
domcdata *This = impl_from_IXMLDOMCDATASection( iface );
return IXMLDOMNode_get_parsed( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isParsed);
*isParsed = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI domcdata_get_namespaceURI(
......
......@@ -395,18 +395,21 @@ static HRESULT WINAPI domcomment_put_text(
static HRESULT WINAPI domcomment_get_specified(
IXMLDOMComment *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isSpecified)
{
domcomment *This = impl_from_IXMLDOMComment( iface );
return IXMLDOMNode_get_specified( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isSpecified);
*isSpecified = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI domcomment_get_definition(
IXMLDOMComment *iface,
IXMLDOMNode** domNode)
IXMLDOMNode** definitionNode)
{
domcomment *This = impl_from_IXMLDOMComment( iface );
return IXMLDOMNode_get_definition( IXMLDOMNode_from_impl(&This->node), domNode );
FIXME("(%p)->(%p)\n", This, definitionNode);
return E_NOTIMPL;
}
static HRESULT WINAPI domcomment_get_nodeTypedValue(
......@@ -476,10 +479,12 @@ static HRESULT WINAPI domcomment_selectSingleNode(
static HRESULT WINAPI domcomment_get_parsed(
IXMLDOMComment *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isParsed)
{
domcomment *This = impl_from_IXMLDOMComment( iface );
return IXMLDOMNode_get_parsed( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isParsed);
*isParsed = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI domcomment_get_namespaceURI(
......
......@@ -399,18 +399,21 @@ static HRESULT WINAPI domfrag_put_text(
static HRESULT WINAPI domfrag_get_specified(
IXMLDOMDocumentFragment *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isSpecified)
{
domfrag *This = impl_from_IXMLDOMDocumentFragment( iface );
return IXMLDOMNode_get_specified( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isSpecified);
*isSpecified = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI domfrag_get_definition(
IXMLDOMDocumentFragment *iface,
IXMLDOMNode** domNode)
IXMLDOMNode** definitionNode)
{
domfrag *This = impl_from_IXMLDOMDocumentFragment( iface );
return IXMLDOMNode_get_definition( IXMLDOMNode_from_impl(&This->node), domNode );
FIXME("(%p)->(%p)\n", This, definitionNode);
return E_NOTIMPL;
}
static HRESULT WINAPI domfrag_get_nodeTypedValue(
......@@ -480,10 +483,12 @@ static HRESULT WINAPI domfrag_selectSingleNode(
static HRESULT WINAPI domfrag_get_parsed(
IXMLDOMDocumentFragment *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isParsed)
{
domfrag *This = impl_from_IXMLDOMDocumentFragment( iface );
return IXMLDOMNode_get_parsed( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isParsed);
*isParsed = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI domfrag_get_namespaceURI(
......
......@@ -1150,7 +1150,9 @@ static HRESULT WINAPI domdoc_get_specified(
VARIANT_BOOL* isSpecified )
{
domdoc *This = impl_from_IXMLDOMDocument3( iface );
return IXMLDOMNode_get_specified( IXMLDOMNode_from_impl(&This->node), isSpecified );
FIXME("(%p)->(%p) stub!\n", This, isSpecified);
*isSpecified = VARIANT_TRUE;
return S_OK;
}
......@@ -1159,6 +1161,8 @@ static HRESULT WINAPI domdoc_get_definition(
IXMLDOMNode** definitionNode )
{
domdoc *This = impl_from_IXMLDOMDocument3( iface );
FIXME("(%p)->(%p)\n", This, definitionNode);
return E_NOTIMPL;
return IXMLDOMNode_get_definition( IXMLDOMNode_from_impl(&This->node), definitionNode );
}
......@@ -1243,6 +1247,9 @@ static HRESULT WINAPI domdoc_get_parsed(
VARIANT_BOOL* isParsed )
{
domdoc *This = impl_from_IXMLDOMDocument3( iface );
FIXME("(%p)->(%p) stub!\n", This, isParsed);
*isParsed = VARIANT_TRUE;
return S_OK;
return IXMLDOMNode_get_parsed( IXMLDOMNode_from_impl(&This->node), isParsed );
}
......
......@@ -407,18 +407,21 @@ static HRESULT WINAPI domelem_put_text(
static HRESULT WINAPI domelem_get_specified(
IXMLDOMElement *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isSpecified)
{
domelem *This = impl_from_IXMLDOMElement( iface );
return IXMLDOMNode_get_specified( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isSpecified);
*isSpecified = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI domelem_get_definition(
IXMLDOMElement *iface,
IXMLDOMNode** domNode)
IXMLDOMNode** definitionNode)
{
domelem *This = impl_from_IXMLDOMElement( iface );
return IXMLDOMNode_get_definition( IXMLDOMNode_from_impl(&This->node), domNode );
FIXME("(%p)->(%p)\n", This, definitionNode);
return E_NOTIMPL;
}
static HRESULT WINAPI domelem_get_nodeTypedValue(
......@@ -501,10 +504,12 @@ static HRESULT WINAPI domelem_selectSingleNode(
static HRESULT WINAPI domelem_get_parsed(
IXMLDOMElement *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isParsed)
{
domelem *This = impl_from_IXMLDOMElement( iface );
return IXMLDOMNode_get_parsed( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isParsed);
*isParsed = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI domelem_get_namespaceURI(
......
......@@ -393,18 +393,21 @@ static HRESULT WINAPI entityref_put_text(
static HRESULT WINAPI entityref_get_specified(
IXMLDOMEntityReference *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isSpecified)
{
entityref *This = impl_from_IXMLDOMEntityReference( iface );
return IXMLDOMNode_get_specified( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isSpecified);
*isSpecified = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI entityref_get_definition(
IXMLDOMEntityReference *iface,
IXMLDOMNode** domNode)
IXMLDOMNode** definitionNode)
{
entityref *This = impl_from_IXMLDOMEntityReference( iface );
return IXMLDOMNode_get_definition( IXMLDOMNode_from_impl(&This->node), domNode );
FIXME("(%p)->(%p)\n", This, definitionNode);
return E_NOTIMPL;
}
static HRESULT WINAPI entityref_get_nodeTypedValue(
......@@ -474,10 +477,12 @@ static HRESULT WINAPI entityref_selectSingleNode(
static HRESULT WINAPI entityref_get_parsed(
IXMLDOMEntityReference *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isParsed)
{
entityref *This = impl_from_IXMLDOMEntityReference( iface );
return IXMLDOMNode_get_parsed( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isParsed);
*isParsed = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI entityref_get_namespaceURI(
......
......@@ -587,25 +587,6 @@ HRESULT node_put_text(xmlnode *This, BSTR text)
return S_OK;
}
static HRESULT WINAPI xmlnode_get_specified(
IXMLDOMNode *iface,
VARIANT_BOOL* isSpecified)
{
xmlnode *This = impl_from_IXMLDOMNode( iface );
FIXME("(%p)->(%p) stub!\n", This, isSpecified);
*isSpecified = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI xmlnode_get_definition(
IXMLDOMNode *iface,
IXMLDOMNode** definitionNode)
{
xmlnode *This = impl_from_IXMLDOMNode( iface );
FIXME("(%p)->(%p)\n", This, definitionNode);
return E_NOTIMPL;
}
static inline BYTE hex_to_byte(xmlChar c)
{
if(c <= '9') return c-'0';
......@@ -1160,16 +1141,6 @@ static HRESULT WINAPI xmlnode_selectSingleNode(
return r;
}
static HRESULT WINAPI xmlnode_get_parsed(
IXMLDOMNode *iface,
VARIANT_BOOL* isParsed)
{
xmlnode *This = impl_from_IXMLDOMNode( iface );
FIXME("(%p)->(%p) stub!\n", This, isParsed);
*isParsed = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI xmlnode_get_namespaceURI(
IXMLDOMNode *iface,
BSTR* namespaceURI)
......@@ -1296,8 +1267,8 @@ static const struct IXMLDOMNodeVtbl xmlnode_vtbl =
xmlnode_get_nodeTypeString,
xmlnode_get_text,
NULL,
xmlnode_get_specified,
xmlnode_get_definition,
NULL,
NULL,
xmlnode_get_nodeTypedValue,
xmlnode_put_nodeTypedValue,
NULL,
......@@ -1306,7 +1277,7 @@ static const struct IXMLDOMNodeVtbl xmlnode_vtbl =
xmlnode_transformNode,
xmlnode_selectNodes,
xmlnode_selectSingleNode,
xmlnode_get_parsed,
NULL,
xmlnode_get_namespaceURI,
xmlnode_get_prefix,
xmlnode_get_baseName,
......@@ -1696,18 +1667,21 @@ static HRESULT WINAPI unknode_put_text(
static HRESULT WINAPI unknode_get_specified(
IXMLDOMNode *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isSpecified)
{
unknode *This = impl_from_unkIXMLDOMNode( iface );
return IXMLDOMNode_get_specified( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isSpecified);
*isSpecified = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI unknode_get_definition(
IXMLDOMNode *iface,
IXMLDOMNode** domNode)
IXMLDOMNode** definitionNode)
{
unknode *This = impl_from_unkIXMLDOMNode( iface );
return IXMLDOMNode_get_definition( IXMLDOMNode_from_impl(&This->node), domNode );
FIXME("(%p)->(%p)\n", This, definitionNode);
return E_NOTIMPL;
}
static HRESULT WINAPI unknode_get_nodeTypedValue(
......@@ -1776,10 +1750,12 @@ static HRESULT WINAPI unknode_selectSingleNode(
static HRESULT WINAPI unknode_get_parsed(
IXMLDOMNode *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isParsed)
{
unknode *This = impl_from_unkIXMLDOMNode( iface );
return IXMLDOMNode_get_parsed( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isParsed);
*isParsed = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI unknode_get_namespaceURI(
......
......@@ -409,18 +409,21 @@ static HRESULT WINAPI dom_pi_put_text(
static HRESULT WINAPI dom_pi_get_specified(
IXMLDOMProcessingInstruction *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isSpecified)
{
dom_pi *This = impl_from_IXMLDOMProcessingInstruction( iface );
return IXMLDOMNode_get_specified( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isSpecified);
*isSpecified = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI dom_pi_get_definition(
IXMLDOMProcessingInstruction *iface,
IXMLDOMNode** domNode)
IXMLDOMNode** definitionNode)
{
dom_pi *This = impl_from_IXMLDOMProcessingInstruction( iface );
return IXMLDOMNode_get_definition( IXMLDOMNode_from_impl(&This->node), domNode );
FIXME("(%p)->(%p)\n", This, definitionNode);
return E_NOTIMPL;
}
static HRESULT WINAPI dom_pi_get_nodeTypedValue(
......@@ -490,10 +493,12 @@ static HRESULT WINAPI dom_pi_selectSingleNode(
static HRESULT WINAPI dom_pi_get_parsed(
IXMLDOMProcessingInstruction *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isParsed)
{
dom_pi *This = impl_from_IXMLDOMProcessingInstruction( iface );
return IXMLDOMNode_get_parsed( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isParsed);
*isParsed = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI dom_pi_get_namespaceURI(
......
......@@ -408,18 +408,21 @@ static HRESULT WINAPI domtext_put_text(
static HRESULT WINAPI domtext_get_specified(
IXMLDOMText *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isSpecified)
{
domtext *This = impl_from_IXMLDOMText( iface );
return IXMLDOMNode_get_specified( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isSpecified);
*isSpecified = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI domtext_get_definition(
IXMLDOMText *iface,
IXMLDOMNode** domNode)
IXMLDOMNode** definitionNode)
{
domtext *This = impl_from_IXMLDOMText( iface );
return IXMLDOMNode_get_definition( IXMLDOMNode_from_impl(&This->node), domNode );
FIXME("(%p)->(%p)\n", This, definitionNode);
return E_NOTIMPL;
}
static HRESULT WINAPI domtext_get_nodeTypedValue(
......@@ -489,10 +492,12 @@ static HRESULT WINAPI domtext_selectSingleNode(
static HRESULT WINAPI domtext_get_parsed(
IXMLDOMText *iface,
VARIANT_BOOL* pbool)
VARIANT_BOOL* isParsed)
{
domtext *This = impl_from_IXMLDOMText( iface );
return IXMLDOMNode_get_parsed( IXMLDOMNode_from_impl(&This->node), pbool );
FIXME("(%p)->(%p) stub!\n", This, isParsed);
*isParsed = VARIANT_TRUE;
return S_OK;
}
static HRESULT WINAPI domtext_get_namespaceURI(
......
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