static HRESULT WINAPI ConnectionPointContainer_EnumConnectionPoints(IConnectionPointContainer *iface, LPENUMCONNECTIONPOINTS *ppEnum) { ConnectionPointContainer *This = impl_from_IConnectionPointContainer(iface); FIXME("(%p)->(%p)\n", This, ppEnum); return E_NOTIMPL; }
static HRESULT WINAPI ConnectionPointContainer_FindConnectionPoint(IConnectionPointContainer *iface, REFIID riid, LPCONNECTIONPOINT *ppCP) { ConnectionPointContainer *This = impl_from_IConnectionPointContainer(iface); if(!ppCP) { WARN("ppCP == NULL\n"); return E_POINTER; } *ppCP = NULL; if(IsEqualGUID(&DIID_DWebBrowserEvents2, riid)) { TRACE("(%p)->(DIID_DWebBrowserEvents2 %p)\n", This, ppCP); *ppCP = &This->wbe2->IConnectionPoint_iface; }else if(IsEqualGUID(&DIID_DWebBrowserEvents, riid)) { TRACE("(%p)->(DIID_DWebBrowserEvents %p)\n", This, ppCP); *ppCP = &This->wbe->IConnectionPoint_iface; }else if(IsEqualGUID(&IID_IPropertyNotifySink, riid)) { TRACE("(%p)->(IID_IPropertyNotifySink %p)\n", This, ppCP); *ppCP = &This->pns->IConnectionPoint_iface; } if(*ppCP) { IConnectionPoint_AddRef(*ppCP); return S_OK; } WARN("Unsupported IID %s\n", debugstr_guid(riid)); return CONNECT_E_NOCONNECTION; }
static HRESULT WINAPI ConnectionPointContainer_EnumConnectionPoints(IConnectionPointContainer *iface, IEnumConnectionPoints **ppEnum) { WindowsMediaPlayer *This = impl_from_IConnectionPointContainer(iface); FIXME("(%p)->(%p)\n", This, ppEnum); return E_NOTIMPL; }
static HRESULT WINAPI ConnectionPointContainer_FindConnectionPoint(IConnectionPointContainer *iface, REFIID riid, IConnectionPoint **ppCP) { WindowsMediaPlayer *This = impl_from_IConnectionPointContainer(iface); FIXME("(%p)->(%s %p)\n", This, debugstr_guid(riid), ppCP); return CONNECT_E_NOCONNECTION; }
static HRESULT WINAPI ConnectionPointContainer_FindConnectionPoint(IConnectionPointContainer *iface, REFIID riid, IConnectionPoint **ppCP) { ConnectionPointContainer *This = impl_from_IConnectionPointContainer(iface); ConnectionPoint *iter; TRACE("(%p)->(%s %p)\n", This, debugstr_cp_guid(riid), ppCP); if(This->forward_container) return IConnectionPointContainer_FindConnectionPoint(&This->IConnectionPointContainer_iface, riid, ppCP); *ppCP = NULL; for(iter = This->cp_list; iter; iter = iter->next) { if(IsEqualGUID(iter->iid, riid)) *ppCP = &iter->IConnectionPoint_iface; } if(*ppCP) { IConnectionPoint_AddRef(*ppCP); return S_OK; } FIXME("unsupported riid %s\n", debugstr_cp_guid(riid)); return CONNECT_E_NOCONNECTION; }
static HRESULT WINAPI cpc_FindConnectionPoint(IConnectionPointContainer *iface, REFIID riid, IConnectionPoint **point) { rowpos *This = impl_from_IConnectionPointContainer(iface); TRACE("(%p)->(%s %p)\n", This, debugstr_guid(riid), point); if (IsEqualIID(riid, &IID_IRowPositionChange)) { *point = &This->cp.IConnectionPoint_iface; IConnectionPoint_AddRef(*point); return S_OK; } else { FIXME("unsupported riid %s\n", debugstr_guid(riid)); return CONNECT_E_NOCONNECTION; } }
static HRESULT WINAPI ConnectionPointContainer_FindConnectionPoint(IConnectionPointContainer *iface, REFIID riid, IConnectionPoint **ppCP) { ConnectionPointContainer *This = impl_from_IConnectionPointContainer(iface); ConnectionPoint *cp; TRACE("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppCP); if(This->forward_container) return IConnectionPointContainer_FindConnectionPoint(&This->forward_container->IConnectionPointContainer_iface, riid, ppCP); cp = get_cp(This, riid, TRUE); if(!cp) { FIXME("unsupported riid %s\n", debugstr_mshtml_guid(riid)); *ppCP = NULL; return CONNECT_E_NOCONNECTION; } *ppCP = &cp->IConnectionPoint_iface; IConnectionPoint_AddRef(*ppCP); return S_OK; }
static ULONG WINAPI ConnectionPointContainer_Release(IConnectionPointContainer *iface) { ConnectionPointContainer *This = impl_from_IConnectionPointContainer(iface); return IUnknown_Release(This->impl); }
static HRESULT WINAPI ConnectionPointContainer_QueryInterface(IConnectionPointContainer *iface, REFIID riid, LPVOID *ppv) { ConnectionPointContainer *This = impl_from_IConnectionPointContainer(iface); return IUnknown_QueryInterface(This->impl, riid, ppv); }
static ULONG WINAPI ConnectionPointContainer_AddRef(IConnectionPointContainer *iface) { ConnectionPointContainer *This = impl_from_IConnectionPointContainer(iface); return IUnknown_AddRef(This->outer); }
static ULONG WINAPI ConnectionPointContainer_Release(IConnectionPointContainer *iface) { WindowsMediaPlayer *This = impl_from_IConnectionPointContainer(iface); return IOleObject_Release(&This->IOleObject_iface); }
static HRESULT WINAPI ConnectionPointContainer_QueryInterface(IConnectionPointContainer *iface, REFIID riid, LPVOID *ppv) { WindowsMediaPlayer *This = impl_from_IConnectionPointContainer(iface); return IOleObject_QueryInterface(&This->IOleObject_iface, riid, ppv); }
static HRESULT WINAPI cpc_EnumConnectionPoints(IConnectionPointContainer *iface, IEnumConnectionPoints **enum_points) { rowpos *This = impl_from_IConnectionPointContainer(iface); FIXME("(%p)->(%p): stub\n", This, enum_points); return E_NOTIMPL; }
static ULONG WINAPI cpc_Release(IConnectionPointContainer *iface) { rowpos *This = impl_from_IConnectionPointContainer(iface); return IRowPosition_Release(&This->IRowPosition_iface); }
static HRESULT WINAPI cpc_QueryInterface(IConnectionPointContainer *iface, REFIID riid, void **obj) { rowpos *This = impl_from_IConnectionPointContainer(iface); return IRowPosition_QueryInterface(&This->IRowPosition_iface, riid, obj); }