http://bugs.winehq.org/show_bug.cgi?id=31924
--- Comment #1 from Andrew Eikum aeikum@codeweavers.com 2012-10-12 09:57:38 CDT --- Probably better to get the mmdevice directly with WINMM_GetMixerMMDevice() if the given uDeviceID appears invalid. If you're interested, this should be easy to make a patch and tests for.