diff --git a/dlls/strmbase/window.c b/dlls/strmbase/window.c index eea45aa23dc..1ca06f77145 100644 --- a/dlls/strmbase/window.c +++ b/dlls/strmbase/window.c @@ -217,6 +217,24 @@ HRESULT WINAPI BaseControlWindow_Destroy(BaseControlWindow *pControlWindow) return S_OK; } +HRESULT WINAPI BaseControlWindowImpl_QueryInterface(IVideoWindow *iface, REFIID iid, void **out) +{ + BaseControlWindow *window = impl_from_IVideoWindow(iface); + return IUnknown_QueryInterface(window->pFilter->outer_unk, iid, out); +} + +ULONG WINAPI BaseControlWindowImpl_AddRef(IVideoWindow *iface) +{ + BaseControlWindow *window = impl_from_IVideoWindow(iface); + return IUnknown_AddRef(window->pFilter->outer_unk); +} + +ULONG WINAPI BaseControlWindowImpl_Release(IVideoWindow *iface) +{ + BaseControlWindow *window = impl_from_IVideoWindow(iface); + return IUnknown_Release(window->pFilter->outer_unk); +} + HRESULT WINAPI BaseControlWindowImpl_GetTypeInfoCount(IVideoWindow *iface, UINT *count) { TRACE("iface %p, count %p.\n", iface, count); diff --git a/include/wine/strmbase.h b/include/wine/strmbase.h index a7dda2ed420..2833f5e941f 100644 --- a/include/wine/strmbase.h +++ b/include/wine/strmbase.h @@ -430,6 +430,10 @@ HRESULT WINAPI BaseControlWindow_Init(BaseControlWindow *pControlWindow, const I HRESULT WINAPI BaseControlWindow_Destroy(BaseControlWindow *pControlWindow); BOOL WINAPI BaseControlWindowImpl_PossiblyEatMessage(BaseWindow *This, UINT uMsg, WPARAM wParam, LPARAM lParam); + +HRESULT WINAPI BaseControlWindowImpl_QueryInterface(IVideoWindow *iface, REFIID iid, void **out); +ULONG WINAPI BaseControlWindowImpl_AddRef(IVideoWindow *iface); +ULONG WINAPI BaseControlWindowImpl_Release(IVideoWindow *iface); HRESULT WINAPI BaseControlWindowImpl_GetTypeInfoCount(IVideoWindow *iface, UINT*pctinfo); HRESULT WINAPI BaseControlWindowImpl_GetTypeInfo(IVideoWindow *iface, UINT iTInfo, LCID lcid, ITypeInfo**ppTInfo); HRESULT WINAPI BaseControlWindowImpl_GetIDsOfNames(IVideoWindow *iface, REFIID riid, LPOLESTR*rgszNames, UINT cNames, LCID lcid, DISPID*rgDispId);