[PATCH 1/2] winmm: MCI_BREAK maps to mciSetYieldProc.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Wed Feb 27 08:02:22 CST 2013


Hi,

actually this patch is stand-alone.

I realized the relationship between MCI_BREAK and Yield on machines since w2k
after a message from Eric Pouech two years ago. w95 constantly returns 0 from
mciGetYieldProc, so w95 works differently.

The patch is indeed 2 years old.  I did not submit it earlier because I considered it
valuable to have the FIXME line appear in postings or bugs reports, as an indicator
that the MCI was being used.

Some people mention in AppDB that some intros cannot be aborted by pressing a key.
The MCI is not necessarily involved, however none of the Wine
MCI drivers implement the mciDriverYield protocol. As a result,
the MCI way of aborting a player does not work with Wine drivers.
More on that in wine-devel another time.

Now I think it's better to have code verified by tests in Wine, and work on using
mciDriverYield at some later point in time. So here's the code and test.

Regards,
 Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winmm-MCI_BREAK-maps-to-mciSetYieldProc.patch
Type: application/octet-stream
Size: 5213 bytes
Desc: 0001-winmm-MCI_BREAK-maps-to-mciSetYieldProc.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130227/a980051d/attachment-0001.obj>


More information about the wine-patches mailing list