2.3.88 FSCTL_SET_ZERO_ON_DEALLOCATION Reply

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

0xC0000022

Zero on deallocation can only be set on a user file opened for write access and cannot be set on a directory.