DISK_COPY_DATA_PARAMETERS structure (ntdddisk.h)

DISK_COPY_DATA_PARAMETERS is used with IOCTL_DISK_COPY_DATA to copy data from one area of the disk to another.

Syntax

typedef struct _DISK_COPY_DATA_PARAMETERS {
  LARGE_INTEGER SourceOffset;
  LARGE_INTEGER DestinationOffset;
  LARGE_INTEGER CopyLength;
  ULONGLONG     Reserved;
} DISK_COPY_DATA_PARAMETERS, *PDISK_COPY_DATA_PARAMETERS;

Members

SourceOffset

Contains the byte offset of the source for the copy. This number must be sector-aligned.

DestinationOffset

Contains the byte offset of the destination of the copy. This number must be sector-aligned.

CopyLength

Contains the number of bytes to copy. This number must be sector-aligned.

Reserved

Must be zero.

Remarks

The source and destination areas must not overlap.

Requirements

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

See also

IOCTL_DISK_COPY_DATA