[PATCH 1/3] winmm: Prefer using MMSYSERR_* over AUDCLNT_E_* from mmdevapi.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Fri Oct 26 03:25:04 CDT 2012


Hi,

I believe code should express lower-level errors using its own ASAP.

>+    mr = WINMM_BeginPlaying(device);
>     LeaveCriticalSection(&device->lock);
Using winmm-level errors allows for a nicer flow of the code
than when carrying mmdevapi errors throughout.

Regards,
	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winmm-Prefer-using-MMSYSERR_-over-AUDCLNT_E_-from.patch
Type: application/octet-stream
Size: 3632 bytes
Desc: 0001-winmm-Prefer-using-MMSYSERR_-over-AUDCLNT_E_-from.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20121026/cc51e362/attachment.obj>


More information about the wine-patches mailing list