msxml3: Use interface instead of implementation pointer to forward IEnumVARIANT::AddRef and IEnumVARIANT::Release for IXMLElementCollection.
This commit is contained in:
parent
9ab9aebf65
commit
9e9d3b2236
|
@ -738,14 +738,14 @@ static ULONG WINAPI xmlelem_collection_IEnumVARIANT_AddRef(
|
|||
IEnumVARIANT *iface)
|
||||
{
|
||||
xmlelem_collection *this = impl_from_IEnumVARIANT(iface);
|
||||
return IXMLDocument_AddRef((IXMLDocument *)this);
|
||||
return IXMLElementCollection_AddRef(&this->IXMLElementCollection_iface);
|
||||
}
|
||||
|
||||
static ULONG WINAPI xmlelem_collection_IEnumVARIANT_Release(
|
||||
IEnumVARIANT *iface)
|
||||
{
|
||||
xmlelem_collection *this = impl_from_IEnumVARIANT(iface);
|
||||
return IXMLDocument_Release((IXMLDocument *)this);
|
||||
return IXMLElementCollection_Release(&this->IXMLElementCollection_iface);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI xmlelem_collection_IEnumVARIANT_Next(
|
||||
|
|
Loading…
Reference in New Issue