Commit 8f6d4b1c authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

quartz: Implement IBasicVideo::IsUsingDefaultSource().

parent 82420a8d
...@@ -1155,9 +1155,16 @@ static HRESULT WINAPI basic_video_GetCurrentImage(IBasicVideo *iface, LONG *size ...@@ -1155,9 +1155,16 @@ static HRESULT WINAPI basic_video_GetCurrentImage(IBasicVideo *iface, LONG *size
static HRESULT WINAPI basic_video_IsUsingDefaultSource(IBasicVideo *iface) static HRESULT WINAPI basic_video_IsUsingDefaultSource(IBasicVideo *iface)
{ {
FIXME("iface %p, stub!\n", iface); struct video_window *window = impl_from_IBasicVideo(iface);
const BITMAPINFOHEADER *bitmap_header = get_bitmap_header(window);
return S_OK; TRACE("window %p.\n", window);
if (!window->src.left && !window->src.top
&& window->src.right == bitmap_header->biWidth
&& window->src.bottom == bitmap_header->biHeight)
return S_OK;
return S_FALSE;
} }
static HRESULT WINAPI basic_video_IsUsingDefaultDestination(IBasicVideo *iface) static HRESULT WINAPI basic_video_IsUsingDefaultDestination(IBasicVideo *iface)
......
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