forked from Mirrors/wine-wine
mciqtz32: Fix mciOpen.
parent
baa7dcb90e
commit
910b95d328
|
@ -225,6 +225,7 @@ static DWORD MCIQTZ_mciOpen(UINT wDevID, DWORD dwFlags,
|
||||||
}
|
}
|
||||||
else if (style)
|
else if (style)
|
||||||
IVideoWindow_put_WindowStyle(wma->vidwin, style);
|
IVideoWindow_put_WindowStyle(wma->vidwin, style);
|
||||||
|
IBasicVideo_GetVideoSize(wma->vidbasic, &rc.right, &rc.bottom);
|
||||||
wma->opened = TRUE;
|
wma->opened = TRUE;
|
||||||
|
|
||||||
if (dwFlags & MCI_NOTIFY)
|
if (dwFlags & MCI_NOTIFY)
|
||||||
|
@ -251,6 +252,7 @@ err:
|
||||||
|
|
||||||
if (wma->uninit)
|
if (wma->uninit)
|
||||||
CoUninitialize();
|
CoUninitialize();
|
||||||
|
wma->uninit = 0;
|
||||||
|
|
||||||
return MCIERR_INTERNAL;
|
return MCIERR_INTERNAL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue