msxml3: Don't return implementation pointer as an interface.
This commit is contained in:
parent
41d34aa69b
commit
de3ec1c55c
|
@ -663,8 +663,8 @@ static HRESULT WINAPI xmlelem_collection_get__newEnum(IXMLElementCollection *ifa
|
||||||
if (!ppUnk)
|
if (!ppUnk)
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
|
|
||||||
*ppUnk = (IUnknown *)This;
|
IXMLElementCollection_AddRef(iface);
|
||||||
IUnknown_AddRef(*ppUnk);
|
*ppUnk = (IUnknown *)&This->IEnumVARIANT_iface;
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue