IOCTL_DISK_COPY_DATA IOCTL (ntdddisk.h)

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

Requirement Value
Header ntdddisk.h (include Ntdddisk.h)

See also

DISK_COPY_DATA_PARAMETERS