2.3.40 FSCTL_MARK_HANDLE Reply

This message returns the results of the FSCTL_MARK_HANDLE request.

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 is STATUS_SUCCESS. The most common error codes are listed in the following table.

Error code

Meaning

STATUS_INVALID_PARAMETER

0xC000000D

This status is returned if:

  • HandleInfo contains any flag other than one and only one of either MARK_HANDLE_READ_COPY or MARK_HANDLE_NOT_READ_COPY

  • The file was opened for cached IO

  • The specified copy number is greater than the number of available redundant copies

STATUS_DIRECTORY_NOT_SUPPORTED

0xC000047C

This operation is not supported on directory files.

STATUS_NOT_REDUNDANT_STORAGE

0xC0000479

This operation is only supported on redundant media.

STATUS_COMPRESSED_FILE_NOT_SUPPORTED

0xC000047B

This operation is not supported on compressed files.