Value Meaning COMPRESSION_FORMAT_NONE The file or directory is not compressed. 0x0000 COMPRESSION_FORMAT_DEFAULT The file or directory is compressed by using the default compression algorithm.<39> 0x0001 COMPRESSION_FORMAT_LZNT1 The file or directory is compressed by using the LZNT1 compression algorithm. For more information, see . 0x0002 All other values Reserved for future use and MUST NOT be used. The actual file or directory compression performed when a server receives a request for COMPRESSION_FORMAT_DEFAULT and COMPRESSION_FORMAT_LZNT1 is If the file system of the volume containing the specified file or directory does not support per-file or per-directory compression, the request MUST NOT succeed. The error code returned in this situation is specified in section . FSCTL_SET_COMPRESSION Reply This message returns the results of the . The only data item this message returns is a status code, as specified in section 2.3. The status code returned directly by the function that processes this FSCTL MUST be STATUS_SUCCESS or one of the following. Error code Meaning STATUS_INVALID_PARAMETER 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 0xC000000D listed in the table for CompressionState in FSCTL_SET_COMPRESSION Request (section 2.3.49). STATUS_INVALID_DEVICE_REQUEST The volume does not allow compression. 0xC0000010 STATUS_DISK_FULL The disk is full. 0xC00007F FSCTL_GET_INTEGRITY_INFORMATION_Request The FSCTL_GET_INTEGRITY_INFORMATION_Request message requests that the server return the current integrity state of the file or directory associated with the handle on which this FSCTL is invoked.<41> If the file system of the volume containing the specified file or directory does not support the use of integrity, the request will not succeed. The error code returned in this situation varies, depending on the file system. This message does not contain additional data elements.
Value Meaning COMPRESSION_FORMAT_NONE 0x0000 The file or directory is not compressed. COMPRESSION_FORMAT_DEFAULT 0x0001 The file or directory is compressed by using the default compression algorithm.<39> COMPRESSION_FORMAT_LZNT1 0x0002 The file or directory is compressed by using the LZNT1 compression algorithm. For more information, see . All other values Reserved for future use and MUST NOT be used. The actual file or directory compression performed when a server receives a request for COMPRESSION_FORMAT_DEFAULT and COMPRESSION_FORMAT_LZNT1 is If the file system of the volume containing the specified file or directory does not support per-file or per-directory compression, the request MUST NOT succeed. The error code returned in this situation is specified in section . FSCTL_SET_COMPRESSION Reply This message returns the results of the . The only data item this message returns is a status code, as specified in section 2.3. The status code returned directly by the function that processes this FSCTL MUST be STATUS_SUCCESS or one of the following. 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.49). STATUS_INVALID_DEVICE_REQUEST 0xC0000010 The volume does not allow compression. STATUS_DISK_FULL 0xC00007F The disk is full. FSCTL_GET_INTEGRITY_INFORMATION_Request The FSCTL_GET_INTEGRITY_INFORMATION_Request message requests that the server return the current integrity state of the file or directory associated with the handle on which this FSCTL is invoked.<41> If the file system of the volume containing the specified file or directory does not support the use of integrity, the request will not succeed. The error code returned in this situation varies, depending on the file system. This message does not contain additional data elements.
%5BMS-FSCC%5D-160714.docx