Partager via


2.3.90 FSCTL_SIS_COPYFILE Reply

This message returns the results of the FSCTL_SIS_COPYFILE 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

The input buffer is NULL, or the input buffer length is less than the size of the SI_COPYFILE structure, or the given SourceFileNameLength or DestinationFileNameLength is less than 2 or greater than the buffer length, or the given SourceFileNameLength plus DestinationFileNameLength is greater than the length of the given SourceFileName plus DestinationFileName in the input buffer, or the given SourceFileName or DestinationFileName is NULL, or the given SourceFileName or DestinationFileName is not null-terminated.

STATUS_OBJECT_NAME_NOT_FOUND

0xC0000034

The source file does not exist.

STATUS_OBJECT_NAME_COLLISION

0xC0000035

The COPYFILE_SIS_REPLACE flag was not specified, and the destination file exists, or the source and destination file are the same.

STATUS_OBJECT_TYPE_MISMATCH

0xC0000024

The COPYFILE_SIS_LINK flag was specified, and the source file is not under SIS control.

STATUS_NOT_SAME_DEVICE

0xC00000D4

The source and destination file names are not located on the same volume, or the source and destination file names are located on the same volume, but it is not the volume associated with the handle on which the FSCTL was performed.

STATUS_INVALID_DEVICE_REQUEST

0xC0000010

The single-instance storage (SIS) filter is not installed on the server.

STATUS_FILE_IS_A_DIRECTORY

0xC00000BA

The source or destination file is a directory.

STATUS_ACCESS_DENIED

0xC0000022

The caller is not an administrator.