enum CdStatus

specifies the CDROM device status.

cdsComplete
0x10
cdsEjected
0x40
cdsEmpty
0x08
cdsError
0x20
cdsOpenedOk
0x00
cdsPaused
0x04
cdsPlaying
0x02
cdsStopped
0x01

Documentation

Specifies the CDROM device status. Certain members can be OR-ed together [though it doesn't make sense to OR some...].

cdsOpenedOk
Initialization and/or opening the CDROM device worked. This flag is mutually exclusive with all of the others.

cdsStopped
The CDROM device has/is stopped. Doesn't make much sense to OR this with cdsPlaying.

cdsPlaying
The CDROM device is playing.

cdsPaused
The CDROM device is paused. Can [and should] be OR-ed with cdsPlaying.

cdsEmpty
The CDROM device is empty; it contains no CD. Should not be OR-ed with cdsStopped, cdsPlaying, or cdsPaused, as that makes no sense.

cdsComplete
The CDROM device has completed play. Good to OR with cdsStopped.

cdsError
Some operation on the CDROM device failed, or the device had some other error. Could be OR-ed with just about any other member of this enum [except cdsOpenedOk].

cdsEjected
The CDROM tray is ejected. Can [and should] be OR-ed with cdsEmpty.

alphabetic index hierarchy of classes


Copyright 1997 by John Weiss [John.Weiss@colorado.edu] "generated by doc++"?! More like mangled ...

generated by doc++