Media Player

I’m having difficulties finding technical documentation on how to achieve
this.

  1. Without knowing in advance about the type of CD, how can know that the
    CD is audio or video in CD ROM drive ?

  2. Can I Invoke WinNT provided CD Player and Windows Media Player’s
    functionality from my programe.for an example if I want to Eject CD Tray
    then can I invoke Media Player’s Eject function ?

Thanks in advance
Regards
-John


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

i only know how to achive the 2nd point. for this you
can use the mcisendstring() function with the “set cdaudio door open” command. to close the door use the command “set cdaudio door closed”.

svenTek


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> 2) Can I Invoke WinNT provided CD Player and Windows Media Player’s

functionality from my programe.for an example if I want to Eject CD Tray
then can I invoke Media Player’s Eject function ?

IIRC there was an IOCTL code to eject a CD.

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com