dhtmled.ocx: Implement IConnectionPointContainer_FindConnectionPoint.

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Vijay Kiran Kamuju 2021-04-08 09:13:17 +02:00 committed by Alexandre Julliard
parent 79428afae5
commit 0dbe8346ee
1 changed files with 15 additions and 3 deletions

View File

@ -1587,10 +1587,23 @@ static HRESULT WINAPI ConnectionPointContainer_EnumConnectionPoints(IConnectionP
}
static HRESULT WINAPI ConnectionPointContainer_FindConnectionPoint(IConnectionPointContainer *iface,
REFIID riid, IConnectionPoint **ppCP)
REFIID riid, IConnectionPoint **point)
{
DHTMLEditImpl *This = impl_from_IConnectionPointContainer(iface);
FIXME("(%p)->(%s %p)\n", This, debugstr_guid(riid), ppCP);
TRACE("(%p)->(%s %p)\n", This, debugstr_guid(riid), point);
if (!point)
return E_POINTER;
if (IsEqualGUID(riid, This->conpt.riid))
{
*point = &This->conpt.IConnectionPoint_iface;
IConnectionPoint_AddRef(*point);
return S_OK;
}
FIXME("unsupported connection point %s\n", debugstr_guid(riid));
return CONNECT_E_NOCONNECTION;
}
@ -1815,7 +1828,6 @@ static const IServiceProviderVtbl ServiceProviderVtbl = {
ServiceProvider_QueryService
};
HRESULT dhtml_edit_create(REFIID iid, void **out)
{
DHTMLEditImpl *This;