From 1b57f07a61f0b777fb558a74539041bc3ac8d3e2 Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Sat, 25 Feb 2017 10:46:30 -0600 Subject: [PATCH] mciavi32: Report version as 1.1. Signed-off-by: Zebediah Figura Signed-off-by: Bruno Jesus <00cpxxx@gmail.com> Signed-off-by: Andrew Eikum Signed-off-by: Alexandre Julliard --- dlls/mciavi32/info.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/mciavi32/info.c b/dlls/mciavi32/info.c index f6797787e8a..3d138b1dddd 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 {