quartz: Implement IBasicVideo::IsUsingDefaultSource().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
82420a8d3c
commit
8f6d4b1c5f
|
@ -1155,9 +1155,16 @@ static HRESULT WINAPI basic_video_GetCurrentImage(IBasicVideo *iface, LONG *size
|
|||
|
||||
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);
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue