Maarten Lankhorst : mciqtz32: Fix mciOpen.
Module: wine Branch: master Commit: 910b95d328c18be4a168e080127b28d36fb2139c URL: http://source.winehq.org/git/wine.git/?a=commit;h=910b95d328c18be4a168e08012... Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com> Date: Mon Jul 26 15:54:22 2010 +0200 mciqtz32: Fix mciOpen. --- dlls/mciqtz32/mciqtz.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/mciqtz32/mciqtz.c b/dlls/mciqtz32/mciqtz.c index 9d90957..d610c19 100644 --- a/dlls/mciqtz32/mciqtz.c +++ b/dlls/mciqtz32/mciqtz.c @@ -225,6 +225,7 @@ static DWORD MCIQTZ_mciOpen(UINT wDevID, DWORD dwFlags, } else if (style) IVideoWindow_put_WindowStyle(wma->vidwin, style); + IBasicVideo_GetVideoSize(wma->vidbasic, &rc.right, &rc.bottom); wma->opened = TRUE; if (dwFlags & MCI_NOTIFY) @@ -251,6 +252,7 @@ err: if (wma->uninit) CoUninitialize(); + wma->uninit = 0; return MCIERR_INTERNAL; }
participants (1)
-
Alexandre Julliard