IOCTL_DVD_READ_STRUCTURE IOCTL (ntddcdvd.h)

Returns information about a DVD disc, such as a layer descriptor, copyright information, or manufacturer-specific information.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

The buffer at Irp->AssociatedIrp.SystemBuffer contains a DVD_READ_STRUCTURE structure that indicates the session ID and type of information to return.

Input buffer length

Length of a DVD_READ_STRUCTURE.

Output buffer

The driver returns the disc information in the buffer at Irp->AssociatedIrp.SystemBuffer.

Output buffer length

Parameters.DeviceIoControl.OutputBufferLength in the I/O stack location indicates the size, in bytes, of the buffer, which must be >= sizeof(Descriptor) where Descriptor is DVD_LAYER_DESCRIPTOR, DVD_COPYRIGHT_DESCRIPTOR, DVD_DISK_KEY_DESCRIPTOR, DVD_BCA_DESCRIPTOR, or DVD_MANUFACTURER_DESCRIPTOR.

Status block

The Information field is set to the number of bytes transferred. The Status field is set to STATUS_SUCCESS, or possibly to STATUS_INSUFFICIENT_RESOURCES.

Requirements

Requirement Value
Header ntddcdvd.h (include Ntddcdvd.h)

See also

DVD_BCA_DESCRIPTOR

DVD_COPYRIGHT_DESCRIPTOR

DVD_DISK_KEY_DESCRIPTOR

DVD_LAYER_DESCRIPTOR

DVD_MANUFACTURER_DESCRIPTOR

DVD_READ_STRUCTURE