[PATCH 5] winmm: MCI Close all causes one notification per open driver.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Mon Nov 9 06:20:31 CST 2009


Hi,

This provides the answer to
-	/* FIXME: shall I notify once after all is done, or for
-	 * each of the open drivers ? if the latest, which notif
-	 * to return when only one fails ?
-	 */

You can get 2xN notifications from close all notify
- 1x ABORTED from each playing thread +
- 1x SUCCESS from "Close notify" of each device.

A later patch will fix the return code of "xyz ALL" commands.
It's value varies among Win9X and later (MCIERR_MULTIPLE).

What need be done is, after approval, to implement the same notification
model into mcicda, mcimidi, mciavi etc.  Still a lot of patches to
write.

Regards,
	Jorg Hohle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-winmm-MCI-Close-all-causes-one-notification-per-ope.patch
Type: application/octet-stream
Size: 3511 bytes
Desc: 0005-winmm-MCI-Close-all-causes-one-notification-per-ope.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091109/2fac6bd7/attachment-0001.obj>


More information about the wine-patches mailing list