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. |
Related topics
Volume Management Control Codes
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
