IOCTL_DISK_COPY_DATA IOCTL

This IOCTL_DISK_COPY_DATA IOCTL is used to copy data from one area of the disk to another.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

The buffer at Irp->AssociatedIrp.SystemBuffer contains the DISK_COPY_DATA_PARAMETERS data. Parameters.DeviceIoControl.InputBufferLength in the I/O stack location of the IRP indicates the size, in bytes, of the buffer.

Input Buffer Length

Parameters.DeviceIoControl.InputBufferLength in the I/O stack location of the IRP indicates the size, in bytes, of the buffer.

Output Buffer

None.

Output Buffer Length

None.

Status Block

The Status field is set to STATUS_SUCCESS if the operation is successful.

Requirements

   
Header ntdddisk.h (include Ntdddisk.h)

See Also

DISK_COPY_DATA_PARAMETERS