// ntddcdrm.h
typedef enum _EXCLUSIVE_ACCESS_REQUEST_TYPE {
ExclusiveAccessQueryState,
ExclusiveAccessLockDevice,
ExclusiveAccessUnlockDevice
} EXCLUSIVE_ACCESS_REQUEST_TYPE, *PEXCLUSIVE_ACCESS_REQUEST_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
The EXCLUSIVE_ACCESS_REQUEST_TYPE enumeration is used to report the exclusive access state of a CD-ROM device.
ExclusiveAccessQueryStateA query for the access state of a CD-ROM device.
ExclusiveAccessLockDeviceA request for the CD-ROM class driver to lock a CD-ROM device for exclusive access by the caller.
ExclusiveAccessUnlockDeviceA request for the CD-ROM class driver to unlock a CD-ROM device that was previously locked for exclusive access.
The EXCLUSIVE_ACCESS_REQUEST_TYPE enumeration is used with the IOCTL_CDROM_EXCLUSIVE_ACCESS request to query the access state of a CD-ROM device or to lock or unlock the device for exclusive access.