winmm/tests: Share common function dbg_mcierr.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Thu Sep 2 10:07:53 CDT 2010


Hi,

Initially I wanted to do the same with test_notification until I
realized that midi.c uses a different form of it (it's not MCI
notification).

This patch does not add to winmm_test.h.  I thought it was not worth
pulling in another set of dependencies.


BTW, I now performed getDeviceID tests using mciavi.  I'll have to
choose another target (likely sequencer) because OPEN_TYPE_ID does not
work with MCI_DEVTYPE_DIGITAL_VIDEO (nor DEVTYPE_ANIMATION)!  No
typical system maps "DIGITALVIDEO" to mci*.dll/drv.  Really weird!

They all use MPEGVIDEO, but the string in winmm and what "capability
device type" returns is "digitalvideo" (unlike "sysinfo installname").
Native is inconsistent and breaking functionality.

Regards,
 Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winmm-tests-Share-common-function-dbg_mcierr.patch
Type: application/octet-stream
Size: 3341 bytes
Desc: 0001-winmm-tests-Share-common-function-dbg_mcierr.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100902/04dac668/attachment.obj>


More information about the wine-patches mailing list