Commit ad175df2 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

mciqtz: Actually assign result to the output structure.

parent d5d2f01d
......@@ -653,11 +653,11 @@ static DWORD MCIQTZ_mciStatus(UINT wDevID, DWORD dwFlags, LPMCI_DGV_STATUS_PARMS
LONG state = State_Stopped;
IMediaControl_GetState(wma->pmctrl, -1, &state);
if (state == State_Stopped)
state = MCI_MODE_STOP;
lpParms->dwReturn = MCI_MODE_STOP;
else if (state == State_Running)
state = MCI_MODE_PLAY;
lpParms->dwReturn = MCI_MODE_PLAY;
else if (state == State_Paused)
state = MCI_MODE_PAUSE;
lpParms->dwReturn = MCI_MODE_PAUSE;
break;
}
case MCI_STATUS_MEDIA_PRESENT:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment