IOCTL_DVD_READ_STRUCTURE IOCTL

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

   
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