FileSystemControlCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a file system control code (FSCTL).
public enum FileSystemControlCode
type FileSystemControlCode =
Public Enum FileSystemControlCode
- Inheritance
-
FileSystemControlCode
Fields
| Name | Value | Description |
|---|---|---|
| RequestOplockLevel1 | 0 | |
| RequestOplockLevel2 | 1 | |
| RequestBatchOplock | 2 | |
| OplockBreakAcknowledge | 3 | |
| OpbatchAckClosePending | 4 | |
| OplockBreakNotify | 5 | |
| LockVolume | 6 | |
| UnlockVolume | 7 | |
| DismountVolume | 8 | |
| IsVolumeMounted | 10 | |
| IsPathnameValid | 11 | |
| MarkVolumeDirty | 12 | |
| QueryRetrievalPointers | 14 | |
| GetCompression | 15 | |
| SetCompression | 16 | |
| MarkAsSystemHive | 19 | |
| SetBootloaderAccessed | 19 | |
| OplockBreakAckNo2 | 20 | |
| InvalidateVolumes | 21 | |
| QueryFatBpb | 22 | |
| RequestFilterOplock | 23 | |
| FilesystemGetStatistics | 24 | |
| GetNtfsVolumeData | 25 | |
| GetNtfsFileRecord | 26 | |
| GetVolumeBitmap | 27 | |
| GetRetrievalPointers | 28 | |
| MoveFile | 29 | |
| IsVolumeDirty | 30 | |
| AllowExtendedDasdIO | 32 | |
| FindFilesBySid | 35 | |
| SetObjectId | 38 | |
| GetObjectId | 39 | |
| DeleteObjectId | 40 | |
| SetReparsePoint | 41 | |
| GetReparsePoint | 42 | |
| DeleteReparsePoint | 43 | |
| EnumUsnData | 44 | |
| SecurityIdCheck | 45 | |
| ReadUsnJournal | 46 | |
| SetObjectIdExtended | 47 | |
| CreateOrGetObjectId | 48 | |
| SetSparse | 49 | |
| SetZeroData | 50 | |
| QueryAllocatedRanges | 51 | |
| EnableUpgrade | 52 | |
| SetEncryption | 53 | |
| EncryptionFsctlIO | 54 | |
| WriteRawEncrypted | 55 | |
| ReadRawEncrypted | 56 | |
| CreateUsnJournal | 57 | |
| ReadFileUsnData | 58 | |
| WriteUsnCloseRecord | 59 | |
| ExtendVolume | 60 | |
| QueryUsnJournal | 61 | |
| DeleteUsnJournal | 62 | |
| MarkHandle | 63 | |
| SisCopyfile | 64 | |
| SisLinkFiles | 65 | |
| RecallFile | 69 | |
| ReadFromPlex | 71 | |
| FilePrefetch | 72 | |
| MakeMediaCompatible | 76 | |
| SetDefectManagement | 77 | |
| QuerySparingInfo | 78 | |
| QueryOnDiskVolumeInfo | 79 | |
| SetVolumeCompressionState | 80 | |
| TxfsModifyRm | 81 | |
| TxfsQueryRmInformation | 82 | |
| TxfsRollforwardRedo | 84 | |
| TxfsRollforwardUndo | 85 | |
| TxfsStartRm | 86 | |
| TxfsShutdownRm | 87 | |
| TxfsReadBackupInformation | 88 | |
| TxfsWriteBackupInformation | 89 | |
| TxfsCreateSecondaryRm | 90 | |
| TxfsGetMetadataInfo | 91 | |
| TxfsGetTransactedVersion | 92 | |
| TxfsSavepointInformation | 94 | |
| TxfsCreateMiniversion | 95 | |
| TxfsTransactionActive | 99 | |
| SetZeroOnDeallocation | 101 | |
| SetRepair | 102 | |
| GetRepair | 103 | |
| WaitForRepair | 104 | |
| InitiateRepair | 106 | |
| CscInternal | 107 | |
| ShrinkVolume | 108 | |
| SetShortNameBehavior | 109 | |
| DfsrSetGhostHandleState | 110 | |
| TxfsListTransactionLockedFiles | 120 | |
| TxfsListTransactions | 121 | |
| QueryPagefileEncryption | 122 | |
| ResetVolumeAllocationHints | 123 | |
| QueryDependentVolume | 124 | |
| SdGlobalChange | 125 | |
| TxfsReadBackupInformation2 | 126 | |
| LookupStreamFromCluster | 127 | |
| TxfsWriteBackupInformation2 | 128 | |
| FileTypeNotification | 129 | |
| FileLevelTrim | 130 | |
| GetBootAreaInfo | 140 | |
| GetRetrievalPointerBase | 141 | |
| SetPersistentVolumeState | 142 | |
| QueryPersistentVolumeState | 143 | |
| RequestOplock | 144 | |
| CsvTunnelRequest | 145 | |
| IsCsvFile | 146 | |
| QueryFileSystemRecognition | 147 | |
| CsvGetVolumePathName | 148 | |
| CsvGetVolumeNameForVolumeMountPoint | 149 | |
| CsvGetVolumePathNamesForVolumeName | 150 | |
| IsFileOnCsvVolume | 151 | |
| CorruptionHandling | 152 | |
| OffloadRead | 153 | |
| OffloadWrite | 154 | |
| CsvInternal | 155 | |
| SetPurgeFailureMode | 156 | |
| QueryFileLayout | 157 | |
| IsVolumeOwnedBycsvfs | 158 | |
| GetIntegrityInformation | 159 | |
| SetIntegrityInformation | 160 | |
| QueryFileRegions | 161 | |
| DedupFile | 165 | |
| DedupQueryFileHashes | 166 | |
| DedupQueryRangeState | 167 | |
| DedupQueryReparseInfo | 168 | |
| RkfInternal | 171 | |
| ScrubData | 172 | |
| RepairCopies | 173 | |
| DisableLocalBuffering | 174 | |
| CsvMgmtLock | 175 | |
| CsvQueryDownLevelFileSystemCharacteristics | 176 | |
| AdvanceFileId | 177 | |
| CsvSyncTunnelRequest | 178 | |
| CsvQueryVetoFileDirectIO | 179 | |
| WriteUsnReason | 180 | |
| CsvControl | 181 | |
| GetRefsVolumeData | 182 | |
| SetBreakOnStatus | 183 | |
| CbafiltIgnoreAdsChanges | 184 | |
| CsvHBreakingSyncTunnelRequest | 185 | |
| MpfilterQueryFileChange | 186 | |
| QueryStorageClasses | 187 | |
| QueryRegionInfo | 188 | |
| UsnTrackModifiedRanges | 189 | |
| UsnSubmitModifiedRanges | 190 | |
| QuerySharedVirtualDiskSupport | 192 | |
| SvhdxSyncTunnelRequest | 193 | |
| SvhdxSetInitiatorInformation | 194 | |
| SetExternalBacking | 195 | |
| GetExternalBacking | 196 | |
| DeleteExternalBacking | 197 | |
| EnumExternalBacking | 198 | |
| EnumOverlay | 199 | |
| StartOverlayIntegrity | 200 | |
| StopOverlayIntegrity | 201 | |
| ControlOverlayIntegrity | 202 | |
| QueryOverlayIntegrity | 203 | |
| AddOverlay | 204 | |
| RemoveOverlay | 205 | |
| UpdateOverlay | 206 | |
| ShuffleFile | 208 | |
| DuplicateExtentsToFile | 209 | |
| CheckForSection | 210 | |
| SparseOverallocate | 211 | |
| StorageQosControl | 212 | |
| InitiateFileMetadataOptimization | 215 | |
| QueryFileMetadataOptimization | 216 | |
| SvhdxAsyncTunnelRequest | 217 | |
| GetWofVersion | 218 | |
| HcsSyncTunnelRequest | 219 | |
| HcsAsyncTunnelRequest | 220 | |
| QueryExtentReadCacheInfo | 221 | |
| QueryRefsVolumeCounterInfo | 222 | |
| CleanVolumeMetadata | 223 | |
| SetIntegrityInformationEx | 224 | |
| SuspendOverlay | 225 | |
| VirtualStorageQueryProperty | 226 | |
| FilesystemGetStatisticsEx | 227 | |
| QueryVolumeContainerState | 228 | |
| SetLayerRoot | 229 | |
| QueryDirectAccessExtents | 230 | |
| NotifyStorageSpaceAllocation | 231 | |
| SsdiStorageRequest | 232 | |
| QueryDirectImageOriginalBase | 233 | |
| ReadUnprivilegedUsnJournal | 234 | |
| GhostFileExtents | 235 | |
| QueryGhostedFileExtents | 236 | |
| UnmapSpace | 237 | |
| HcsSyncNoWriteTunnelRequest | 238 | |
| HsmControl | 239 | |
| StartVirtualizationInstance | 240 | |
| GetFilterFileIdentifier | 241 | |
| StreamsQueryParameters | 241 | |
| StreamsAssociateId | 242 | |
| StreamsQueryId | 243 | |
| GetRetrievalPointersAndRefcount | 244 | |
| QueryVolumeNumaInfo | 245 | |
| RefsDeallocateRanges | 246 | |
| QueryRefsSmrVolumeInfo | 247 | |
| SetRefsSmrVolumeGcParameters | 248 | |
| SetRefsFileStrictlySequential | 249 | |
| DuplicateExtentsToFileEx | 250 | |
| QueryBadRanges | 251 | |
| SetDaxAllocAlignmentHint | 252 | |
| DeleteCorruptedRefsContainer | 253 | |
| ScrubUndiscoverableId | 254 | |
| NotifyDataChange | 255 | |
| StartVirtualizationInstanceEx | 256 | |
| EncryptionKeyControl | 257 | |
| VirtualStorageSetBehavior | 258 | |
| SetReparsePointEx | 259 | |
| DefineStorageReserve | 260 | |
| QueryStorageReserve | 261 | |
| DeleteStorageReserve | 262 | |
| RepairStorageReserve | 263 | |
| RearrangeFile | 264 |
Remarks
See https://msdn.microsoft.com/en-us/library/cc231987.aspx for more information on published control codes.