Return correct resource id for time format strings.

This commit is contained in:
Dmitry Timoshkov 2004-01-06 20:39:32 +00:00 committed by Alexandre Julliard
parent 826ff13385
commit d81e04a8c0
1 changed files with 2 additions and 1 deletions

View File

@ -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));
break;
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));
ret = MCI_RESOURCE_RETURNED;
break;