2.3.52 FSCTL_SET_COMPRESSION Reply

This message returns the results of the FSCTL_SET_COMPRESSION 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 length is less than 2, or the handle is not to a file or directory, or the requested CompressionState is not one of the values listed in the table for CompressionState in FSCTL_SET_COMPRESSION Request (section 2.3.51).

STATUS_INVALID_DEVICE_REQUEST

0xC0000010

The volume does not allow compression.

STATUS_DISK_FULL

0xC00007F

The disk is full.