mciqtz32: Fix mciOpen.

This commit is contained in:
Maarten Lankhorst 2010-07-26 15:54:22 +02:00 committed by Alexandre Julliard
parent baa7dcb90e
commit 910b95d328
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}