CDROM_EXCLUSIVE_ACCESS structure

The CDROM_EXCLUSIVE_ACCESS structure 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.

Syntax


typedef struct _CDROM_EXCLUSIVE_ACCESS {
  EXCLUSIVE_ACCESS_REQUEST_TYPE RequestType;
  ULONG                         Flags;
} CDROM_EXCLUSIVE_ACCESS, *PCDROM_EXCLUSIVE_ACCESS;

Members

RequestType

An EXCLUSIVE_ACCESS_REQUEST_TYPE-typed enumeration value that specifies the type of operation.

Flags

A flag that specifies the characteristics of the operation. The meaning of the flag depends on the type of operation that RequestType specifies. The following table describes the possible values for RequestType and Flags:

RequestTypeFlagsMeaning

ExclusiveAccessQueryState

Not applicable

Not applicable

ExclusiveAccessLockDevice

0

Requires that the caller dismount the file system

CDROM_LOCK_IGNORE_VOLUME

Ignores the file system mount and locks the device

ExclusiveAccessUnlockDevice

CDROM_NO_MEDIA_NOTIFICATIONS

Prevents the sending of a media removal notification and a media arrival notification on an exclusive access unlock

 

Requirements

Header

Ntddcdrm.h (include Ntddcdrm.h)

See also

IOCTL_CDROM_EXCLUSIVE_ACCESS

 

 

Send comments about this topic to Microsoft

Show: