The way the mci functions work allow you to call the default driver
(that's how the example is doing it); however you can open a specif
driver by adding this function before calling other mci functions:
mciErr = mciSendString("open D:\\ type cdaudio alias cd1", "", 0, 0);
By calling this function previous to other mci functions you can
specify the drive you wan to address. I don't have multiple CD-ROMs,
so I was not able to test it, however I believe it should work.
Good luck.
Regards,
Juan Carlos
N.I.