Commit 89cf4cba authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

strmbase: Add default implementations of IUnknown methods for IVideoWindow.

parent fbd9133e
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment