mciwave: Send notification after everything else.
This commit is contained in:
parent
3fc7da7f5e
commit
7d002f228c
|
@ -884,14 +884,14 @@ cleanUp:
|
|||
}
|
||||
CloseHandle(wmw->hEvent);
|
||||
|
||||
wmw->dwStatus = MCI_MODE_STOP;
|
||||
|
||||
if (lpParms && (dwFlags & MCI_NOTIFY)) {
|
||||
mciDriverNotify(HWND_32(LOWORD(lpParms->dwCallback)),
|
||||
wmw->openParms.wDeviceID,
|
||||
dwRet ? MCI_NOTIFY_FAILURE : MCI_NOTIFY_SUCCESSFUL);
|
||||
}
|
||||
|
||||
wmw->dwStatus = MCI_MODE_STOP;
|
||||
|
||||
return dwRet;
|
||||
}
|
||||
|
||||
|
@ -1108,14 +1108,14 @@ cleanUp:
|
|||
}
|
||||
CloseHandle(wmw->hEvent);
|
||||
|
||||
wmw->dwStatus = MCI_MODE_STOP;
|
||||
|
||||
if (lpParms && (dwFlags & MCI_NOTIFY)) {
|
||||
mciDriverNotify(HWND_32(LOWORD(lpParms->dwCallback)),
|
||||
wmw->openParms.wDeviceID,
|
||||
dwRet ? MCI_NOTIFY_FAILURE : MCI_NOTIFY_SUCCESSFUL);
|
||||
}
|
||||
|
||||
wmw->dwStatus = MCI_MODE_STOP;
|
||||
|
||||
return dwRet;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue