http://bugs.winehq.org/show_bug.cgi?id=23975
--- Comment #9 from Eric Pouech eric.pouech@orange.fr 2010-08-13 02:56:34 --- I don't agree. The mci driver must be passed by winmm an id to know which device id has to be opened. I agree that the mci driver doesn't have to know about the cdaudio1 string parsing.
Therefore, the following scheme has to be implemented: - mcicda (and all mci drivers) must support (if relevant, ie mciwave is not relevant) the hiword in mci_open requests, with mci_open_type_id flag set. This lets the mci driver know which device (if several installed on computer) to open. - winmm shall: + transfer to mci driver the hiword in case of mci_open request, with mci_open_type_id flag set (mciOpen function) + in string handling (mciSendString function), should also cover the cdaudio1 (and the like constructs) for device name => the full construct (in .ini file, and registry should be the same IMO), is cdaudio1=mcicda.drv 1 ; which should be managed by winmm as: . define a new type of mci driver of name cdaudio1, . to be managed by mcicda.drv, and that should be opened with mci_open_type_id flag set, and hiword of deviceid to be 1 (which comes after the driver name)