Directory Management Control Codes

The following control codes are used with file compression and decompression.

Control Code Meaning
FSCTL_GET_COMPRESSION Retrieves the current compression state of a file or directory on a volume whose file system supports per-stream compression.
FSCTL_SET_COMPRESSION Sets the compression state of a file or directory on a volume whose file system supports per-file and per-directory compression.

The following control codes are used with reparse points.

In this section

Control Code Description
FSCTL_DELETE_REPARSE_POINT
Deletes a reparse point from the specified file or directory.
FSCTL_GET_REPARSE_POINT
Retrieves the reparse point data associated with the file or directory identified by the specified handle.
FSCTL_SET_REPARSE_POINT
Sets a reparse point on a file or directory.

File Management Control Codes

Volume Management Control Codes