[PATCH 06/25] mciseq: Map MMSYSERR_* to MCIERR_* error codes.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Thu Oct 4 05:49:04 CDT 2012


Hi,

MCI_PLAY returns (mapped) errors from midiOutOpen, but
that'll only be implemented in patch 12/25.
So far, errors are only reported in the synchronous
MCI_PLAY + MCI_WAIT case.

+    case MIDIERR_INVALIDSETUP:	/* from midimap.dll without snd-seq module  */
+	return			MCIERR_SEQ_PORT_MAPNODEVICE;
Several apps present the error text from MCI or WINMM to the user via a requester.
I've tried to use errors whose text (winmm.rc) is meaningful in that context.

Regards,
	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-mciseq-Map-MMSYSERR_-to-MCIERR_-error-codes.patch
Type: application/octet-stream
Size: 1962 bytes
Desc: 0006-mciseq-Map-MMSYSERR_-to-MCIERR_-error-codes.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20121004/b21bb463/attachment.obj>


More information about the wine-patches mailing list