CDROM_SET_SPEED structure (ntddcdrm.h)

The CDROM_SET_SPEED structure is used with the IOCTL_CDROM_SET_SPEED request to set the spindle speed of a CD-ROM drive during data transfers in which no data loss is permitted.

Syntax

typedef struct _CDROM_SET_SPEED {
  CDROM_SPEED_REQUEST RequestType;
  USHORT              ReadSpeed;
  USHORT              WriteSpeed;
  WRITE_ROTATION      RotationControl;
} CDROM_SET_SPEED, *PCDROM_SET_SPEED;

Members

RequestType

A CDROM_SPEED_REQUEST-typed value that indicates the type of set speed operation for IOCTL_CDROM_SET_SPEED to perform.

ReadSpeed

The read speed, in kilobytes per second.

WriteSpeed

The write speed, in kilobytes per second.

RotationControl

A WRITE_ROTATION-typed value that indicates whether the drive uses constant angular velocity (CAV) or constant linear velocity (CLV) rotation when it writes to a CD.

Requirements

Requirement Value
Header ntddcdrm.h (include Ntddcdrm.h)

See also

CDROM_SET_STREAMING

CDROM_SPEED_REQUEST

IOCTL_CDROM_SET_SPEED

WRITE_ROTATION