Return correct resource id for time format strings.
This commit is contained in:
parent
826ff13385
commit
d81e04a8c0
|
@ -385,7 +385,8 @@ DWORD MCIAVI_mciStatus(UINT wDevID, DWORD dwFlags, LPMCI_DGV_STATUS_PARMSA lpPar
|
||||||
TRACE("MCI_STATUS_READY = %u\n", LOWORD(lpParms->dwReturn));
|
TRACE("MCI_STATUS_READY = %u\n", LOWORD(lpParms->dwReturn));
|
||||||
break;
|
break;
|
||||||
case MCI_STATUS_TIME_FORMAT:
|
case MCI_STATUS_TIME_FORMAT:
|
||||||
lpParms->dwReturn = MAKEMCIRESOURCE(wma->dwMciTimeFormat, wma->dwMciTimeFormat);
|
lpParms->dwReturn = MAKEMCIRESOURCE(wma->dwMciTimeFormat,
|
||||||
|
wma->dwMciTimeFormat + MCI_FORMAT_RETURN_BASE);
|
||||||
TRACE("MCI_STATUS_TIME_FORMAT => %u\n", LOWORD(lpParms->dwReturn));
|
TRACE("MCI_STATUS_TIME_FORMAT => %u\n", LOWORD(lpParms->dwReturn));
|
||||||
ret = MCI_RESOURCE_RETURNED;
|
ret = MCI_RESOURCE_RETURNED;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue