Module: wine Branch: master Commit: ad175df21a26cb9c76537a1198c98534f1a1913e URL: http://source.winehq.org/git/wine.git/?a=commit;h=ad175df21a26cb9c76537a1198...
Author: Andrew Eikum aeikum@codeweavers.com Date: Thu Mar 8 15:08:41 2012 -0600
mciqtz: Actually assign result to the output structure.
---
dlls/mciqtz32/mciqtz.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/mciqtz32/mciqtz.c b/dlls/mciqtz32/mciqtz.c index 03f6f9d..3e16235 100644 --- a/dlls/mciqtz32/mciqtz.c +++ b/dlls/mciqtz32/mciqtz.c @@ -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: