General discussion

  • Creator
    Topic
  • #2079445

    CD Status

    Locked

    by igp ·

    Hi!
    How can I know status of CD-ROM. I mean is it ejected or closed?
    Please… 🙂

    WinAPI or Delphi is prefered

All Comments

  • Author
    Replies
    • #3774901

      CD Status

      by jpitts ·

      In reply to CD Status

      Delphi 5, using MCI
      TMediaPlayer.Mode gives the current status of an open multimedia device. – not ready, seeking, playing, recording, paused, open, or stopped.

      • #3774563

        CD Status

        by igp ·

        In reply to CD Status

        Thanks, but I need low level suggestion.
        I need to use some commands like GetDriveStatus(x,x,x).
        I won’t use MediaPlayer for only on function.

Viewing 0 reply threads