2.3.10 FSCTL_DUPLICATE_EXTENTS_TO_FILE_EX Reply

This message returns the result of the FSCTL_DUPLICATE_EXTENTS_TO_FILE_EX request<22>.

The only data item this message returns is a status code, as specified in section 2.2. Upon success, the status code returned by the function that processes this FSCTL SHOULD be STATUS_SUCCESS. The most common error codes are listed in the following table.

Error Code

Meaning

STATUS_NOT_SUPPORTED

0xC00000BB

  • The source and target destination ranges overlap on the same file.

  • Source file is sparse, while target is a non-sparse file.

  • The source range is beyond the source file's allocation size.

STATUS_INVALID_PARAMETER

0xC000000D

The FileHandle parameter is either invalid or does not represent a handle to an opened file on the same volume.

STATUS_INSUFFICIENT_RESOURCES

0xC000009A

There were insufficient resources to complete the operation.

STATUS_DISK_FULL

0xC000007F

The disk is full.

STATUS_MEDIA_WRITE_PROTECTED

0xC00000A2

The volume is read-only.

STATUS_INVALID_DEVICE_REQUEST

0xC0000010

The file system does not support duplicating extents.