[PATCH 2/6] winmm: Close MCI device after immediate auto-open commands.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Wed Sep 1 10:59:59 CDT 2010


Hi,

What does this have to do with GetDeviceID?
Well, if a device is not auto-closed, then subsequent open commands
should fail with MCIERR_DEVICE_OPEN. Therefore I'm trying to get very
close to the real auto-open + close behaviour for the simple cases like
capability waveaudio inputs
status cdaudio media present
They all involve auto-open!

The patch that implements MCIERR_DUPLICATE_FLAGS and
MCIERR_DEVICE_OPEN is finished, but enabling it depends on the
fix to the sysinfo parser for the tests to continue to work...

Regards,
 Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-winmm-Close-MCI-device-after-immediate-auto-open-co.patch
Type: application/octet-stream
Size: 9795 bytes
Desc: 0002-winmm-Close-MCI-device-after-immediate-auto-open-co.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100901/55dac4ea/attachment-0001.obj>


More information about the wine-patches mailing list