[PATCH 1/2] mciavi32: Report version as 1.1.
Zebediah Figura
z.figura12 at gmail.com
Sat Feb 25 10:46:30 CST 2017
Magic School Bus - Dinosaurs checks that the AVI driver, which it
assumes is VfW, is at least version 1.1.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/mciavi32/info.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/mciavi32/info.c b/dlls/mciavi32/info.c
index f679778..3d138b1 100644
--- a/dlls/mciavi32/info.c
+++ b/dlls/mciavi32/info.c
@@ -192,6 +192,7 @@ DWORD MCIAVI_mciInfo(UINT wDevID, DWORD dwFlags, LPMCI_DGV_INFO_PARMSW lpParms)
WINE_MCIAVI* wma = MCIAVI_mciGetOpenDev(wDevID);
DWORD ret = 0;
static const WCHAR wszAviPlayer[] = {'W','i','n','e','\'','s',' ','A','V','I',' ','p','l','a','y','e','r',0};
+ static const WCHAR wszVersion[] = {'1','.','1',0};
if (lpParms == NULL || lpParms->lpstrReturn == NULL)
return MCIERR_NULL_PARAMETER_BLOCK;
@@ -204,6 +205,8 @@ DWORD MCIAVI_mciInfo(UINT wDevID, DWORD dwFlags, LPMCI_DGV_INFO_PARMSW lpParms)
if (dwFlags & MCI_INFO_PRODUCT)
str = wszAviPlayer;
+ else if (dwFlags & MCI_INFO_VERSION)
+ str = wszVersion;
else if (dwFlags & MCI_INFO_FILE)
str = wma->lpFileName;
else {
--
2.7.4
More information about the wine-patches
mailing list