mciavi32: Report version as 1.1.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Bruno Jesus <00cpxxx@gmail.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b2c809a3d9
commit
1b57f07a61
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue