From ad175df21a26cb9c76537a1198c98534f1a1913e Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Thu, 8 Mar 2012 15:08:41 -0600 Subject: [PATCH] mciqtz: Actually assign result to the output structure. --- dlls/mciqtz32/mciqtz.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/mciqtz32/mciqtz.c b/dlls/mciqtz32/mciqtz.c index 03f6f9d43a6..3e16235baac 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: