FSCTL_SET_ZERO_ON_DEALLOCATION Request This message requests that the server fill the clusters of the target file with zeros when they are deallocated.<64> This is used to set a file to secure delete mode, which ensures that data will be zeroed upon file truncation or deletion. There are several side effects associated with this operation. If the file is resident, it is converted to non-resident and the resident portion is zeroed. When reallocating ranges of a compressed file, the clusters are both zeroed and then replaced with a cluster representing compressed zeros before being reallocated. This message does not contain any additional data elements. FSCTL_SET_ZERO_ON_DEALLOCATION Reply This message returns the results of the . The only data item this message returns is a status code, as specified in section . Upon success, the status code returned by the function that processes this is STATUS_SUCCESS. The most common codes are listed in the following table. code Meaning STATUS_ACCESS_DENIED Zero on deallocation 0xC0000022 can only be set on a user file opened for write access and cannot be set on a directory. FSCTL_SIS_COPYFILE Request The FSCTL_SIS_COPYFILE request message requests that the server use the to copy a file. The message contains an SI_COPYFILE data element. If the SIS filter is installed on the server, it will attempt to copy the specified source file to the specified destination file by creating an SIS link instead of actually copying the file data. If necessary and allowed, the source file is placed under SIS control before the destination file is created. This can be issued against either a file or directory handle. The source and destination MUST reside on the associated with the given handle. The SI_COPYFILE data element is as follows. 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 SourceFileNameLength DestinationFileNameLength
FSCTL_SET_ZERO_ON_DEALLOCATION Request This message requests that the server fill the clusters of the target file with zeros when they are deallocated.<64> This is used to set a file to secure delete mode, which ensures that data will be zeroed upon file truncation or deletion. There are several side effects associated with this operation. If the file is resident, it is converted to non-resident and the resident portion is zeroed. When reallocating ranges of a compressed file, the clusters are both zeroed and then replaced with a cluster representing compressed zeros before being reallocated. This message does not contain any additional data elements. FSCTL_SET_ZERO_ON_DEALLOCATION Reply This message returns the results of the . The only data item this message returns is a status code, as specified in section . Upon success, the status code returned by the function that processes this is STATUS_SUCCESS. The most common codes are listed in the following table. 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. FSCTL_SIS_COPYFILE Request The FSCTL_SIS_COPYFILE request message requests that the server use the to copy a file. The message contains an SI_COPYFILE data element. If the SIS filter is installed on the server, it will attempt to copy the specified source file to the specified destination file by creating an SIS link instead of actually copying the file data. If necessary and allowed, the source file is placed under SIS control before the destination file is created. This can be issued against either a file or directory handle. The source and destination MUST reside on the associated with the given handle. The SI_COPYFILE data element is as follows. 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 SourceFileNameLength DestinationFileNameLength