Export (0) Print
Expand All
Expand Minimize

2.1.5.9.36 FSCTL_SET_ZERO_ON_DEALLOCATION

The server provides:

  • Open: An Open of a DataStream.

On completion the object store MUST return:

  • Status: An NTSTATUS code that specifies the result.

Support for this operation is optional. If the object store does not implement this functionality, the operation MUST be failed with STATUS_INVALID_DEVICE_REQUEST.<100>

The operation MUST be failed with STATUS_ACCESS_DENIED under either of the following conditions:

  • Open.Stream.StreamType is not DataStream.

  • Open.GrantedAccess contains neither FILE_WRITE_DATA nor FILE_APPEND_DATA.

Pseudocode for the operation is as follows:

  • The object store MUST set Open.Stream.ZeroOnDeallocate to TRUE.

  • Upon successful completion of the operation, the object store MUST return:

    • Status set to STATUS_SUCCESS.

 
Show:
© 2014 Microsoft