The following control codes are used in file management.
| Control code | Operation |
|
FSCTL_ALLOW_EXTENDED_DASD_IO
| Signals the file system driver not to perform any I/O boundary checks on partition read or write calls. Instead, boundary checks are performed by the device driver. |
|
FSCTL_FILESYSTEM_GET_STATISTICS
| Retrieves statistics from the file system. |
|
FSCTL_FIND_FILES_BY_SID
| Searches a directory for a file whose creator owner matches the specified SID. |
|
FSCTL_GET_NTFS_FILE_RECORD
| Retrieves the complete NTFS file system file record identified by the specified file identifier. |
|
FSCTL_RECALL_FILE
| Recalls a file from storage media managed by Remote Storage, the hierarchical storage management software. |
|
FSCTL_SET_ZERO_ON_DEALLOCATION
| Indicates an NTFS file system file handle should have its clusters filled with zeros when it is deallocated. |
The following control codes are used with
file compression and decompression.
The following control codes are used with object identifiers.
The following control codes are used with
opportunistic locks.
The following control codes are used with
sparse files.
The following control codes are used with the NTFS self-healing mechanism.
The following control codes are used with UDF.
| Control code | Operation |
|
FSCTL_MAKE_MEDIA_COMPATIBLE
| Closes an open UDF session on write-once media to make the media ROM compatible. Used in conjunction with FILE_SEQUENTIAL_WRITE_ONCE volume flag. This call must be issued on the volume handle. |
|
FSCTL_QUERY_ON_DISK_VOLUME_INFO
| Requests UDF-specific volume information. |
|
FSCTL_QUERY_SPARING_INFO
| Retrieves the defect management properties of the volume. Used for UDF file systems. |
|
FSCTL_SET_DEFECT_MANAGEMENT
| Sets the software defect management state for the specified file. Used for UDF file systems. |
Send comments about this topic to Microsoft
Build date: 2/4/2010