Ejecting removable media

I'm writing a program that reads and write to MO drives and I need to be able to eject the MO disk on completion of certain tasks.

Can anyone offer advice on how to do this

I guess the same principles will apply to Zip drives (and maybe CD/DVD drives).

Thanks


Answer this question

Ejecting removable media

  • Alex114

    Steve

    Thanks

    All the drivers for the drive are built into Windows XP and you can eject the disk from the right-click menu in Explorer, so I'm presuming that somewhere within the depths of Windows there is a call that does it.

    Just wonder where


  • chicagoclone

    Hi Ventuspilot,

    I think this would only be possible if the hardware manufacturer of the MO or Zip drive provided API's for controlling the drives. You might check the manufacterers Website to see if they support this.

    Steve Hoag
    Visual Basic Express

  • Ejecting removable media