2.3.80 FSCTL_SET_SPARSE Reply

This message returns the results of the FSCTL_SET_SPARSE 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 handle is not to a file, or the input buffer length is nonzero and is less than the size of a FILE_SET_SPARSE_BUFFER structure.

STATUS_ACCESS_DENIED

0xC0000022

The handle is not open with write data or write attribute access.