Class TForm1 (unit ShowCD_) |
TForm
If problems: Add the path to AlbReg.pas to the project
Constructors |
Functions |
Properties |
Events |
Variables |
Constructors |
Functions |
Registry Root is HKey_Local_Machine. The Key is enum\???i\*\*. That fits to enum\esdi\*\' and to enum\scsi\*\*. The last two asterixes are subkeys to the drive an its characteristics. Look in the registry with c:\windows\REGEDIT or with the LookReg program supplied as another demo of the AlbReg unit. The Condition is 'class=CDROM', as the variable class contains the string 'CDROM' in the registry informations of cdroms. CurrentDriveLetterAssignment is the variable that show the drive letter. AutoInsertNotification is one property of drives with media change. When on, Windows95 detects new CDs in the drive and starts the greeting program. (This is important for CR Recorders: AutoInsertNotification must be off, as the writing process must not be interrupted by anything
Properties |
Events |
Variables |