strmbase: Add default implementations of IUnknown methods for IVideoWindow.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fbd9133ee5
commit
89cf4cba6e
|
@ -217,6 +217,24 @@ HRESULT WINAPI BaseControlWindow_Destroy(BaseControlWindow *pControlWindow)
|
||||||
return S_OK;
|
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)
|
HRESULT WINAPI BaseControlWindowImpl_GetTypeInfoCount(IVideoWindow *iface, UINT *count)
|
||||||
{
|
{
|
||||||
TRACE("iface %p, count %p.\n", iface, 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);
|
HRESULT WINAPI BaseControlWindow_Destroy(BaseControlWindow *pControlWindow);
|
||||||
|
|
||||||
BOOL WINAPI BaseControlWindowImpl_PossiblyEatMessage(BaseWindow *This, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
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_GetTypeInfoCount(IVideoWindow *iface, UINT*pctinfo);
|
||||||
HRESULT WINAPI BaseControlWindowImpl_GetTypeInfo(IVideoWindow *iface, UINT iTInfo, LCID lcid, ITypeInfo**ppTInfo);
|
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);
|
HRESULT WINAPI BaseControlWindowImpl_GetIDsOfNames(IVideoWindow *iface, REFIID riid, LPOLESTR*rgszNames, UINT cNames, LCID lcid, DISPID*rgDispId);
|
||||||
|
|
Loading…
Reference in New Issue