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)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*ppUnk = (IUnknown *)This;
|
||||
IUnknown_AddRef(*ppUnk);
|
||||
IXMLElementCollection_AddRef(iface);
|
||||
*ppUnk = (IUnknown *)&This->IEnumVARIANT_iface;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue