Starting with Windows Vista, the CD-ROM class driver includes support for an IOCTL_CDROM_EXCLUSIVE_ACCESS request. This request instructs the CD-ROM class driver to 1.) Report the access state of a CD-ROM device, 2.) Lock a CD/DVD device for exclusive access, or 3.) Unlock a CD/DVD device for exclusive access.
Using this application, you can quickly determine which software (if any) currently owns the exclusive lock on your optical drives.
If you are a software engineer, or test engineer, you can also use our application to gain the exclusive lock. This is an easy method for you to determine how your optical software behaves when another application owns the exclusive lock.
In addition to allowing you to Lock the device, or Unlock the device, you can select the "Extra" toolbar button to exercise several additional IOCTLs. These include IOCTL_STORAGE_MCN_CONTROL, IOCTL_STORAGE_EJECT_MEDIA, IOCTL_STORAGE_LOAD_MEDIA, and IOCTL_STORAGE_LOAD_MEDIA2.