winmm: Have xyzGetDevCaps return MMSYSERR_BADDEVICEID, not INVALHANDLE.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Mon Feb 1 11:51:10 CST 2010


Discovered by my yet to be submitted MIDI tests.
Incidentally, all winmm *GetDevCaps now return the same error.

There are still in Wine other functions across dlls/ that
return different error numbers for identical error causes,
e.g. an old note of mine is:
msvideo1.c, iccvid.c, msrle32.c all implement different error codes,
e.g. the response to DRV_FREE is ICERR_UNSUPPORTED (-1), 0 and 1,
respectively.

Regards,
	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-winmm-Have-xyzGetDeviceCaps-return-MMSYSERR_BADDEVI.patch
Type: application/octet-stream
Size: 1613 bytes
Desc: 0002-winmm-Have-xyzGetDeviceCaps-return-MMSYSERR_BADDEVI.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100201/682d3cff/attachment.obj>


More information about the wine-patches mailing list