Device Handling
After you have created an instance of EM_CDROM you have now full control of your CD-Rom.
Basically they are two levels of controls. One level is on system scale and the other one is on device scale.
Handling on System Scale
To access all features on system scale you need to inherit from EM_SHARED_SUBSYSTEMS where you will find a singleton called cdrom_subsystem. This singleton is an instance of EM_CDROM_SUBSYSTEM with some features to get more information about all CD-Rom devices of your system.
E.g.: You can get the name of a device or count how many devices they are connected to your system.
Note: Those Information are updated during runtime, therefore they can change.
Handling on Device Scale
To access all features on device scale you need to create an instance of EM_CDROM as mentioned above. This class will give you features to handle any CD-Rom's (including playback) and to get information about all tracks.
Here is a small list with the most important features for playback:
To view all features click here: EM_CDROM
If you want to get information about the content of the disk you will need one of those features:
With tracks you will get as result a DS_LINKED_LIST [EM_CDROM_TRACK]. This list contains all information about all tracks beginning with the first CD track. Available information are:
To view all features click here: EM_CDROM_TRACK