IoControlCode.cs 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. namespace SMBLibrary
  2. {
  3. public enum IoControlCode : uint
  4. {
  5. FSCTL_DFS_GET_REFERRALS = 0x00060194, // SMB2-specific processing
  6. FSCTL_DFS_GET_REFERRALS_EX = 0x000601B0, // SMB2-specific processing
  7. FSCTL_IS_PATHNAME_VALID = 0x0009002C,
  8. FSCTL_GET_COMPRESSION = 0x0009003C,
  9. FSCTL_FILESYSTEM_GET_STATISTICS = 0x00090060,
  10. FSCTL_QUERY_FAT_BPB = 0x00090058,
  11. FSCTL_GET_NTFS_VOLUME_DATA = 0x00090064,
  12. FSCTL_GET_RETRIEVAL_POINTERS = 0x00090073,
  13. FSCTL_FIND_FILES_BY_SID = 0x0009008F,
  14. FSCTL_SET_OBJECT_ID = 0x00090098,
  15. FSCTL_GET_OBJECT_ID = 0x0009009C,
  16. FSCTL_DELETE_OBJECT_ID = 0x000900A0,
  17. FSCTL_SET_REPARSE_POINT = 0x000900A4, // SMB2-specific processing
  18. FSCTL_GET_REPARSE_POINT = 0x000900A8,
  19. FSCTL_DELETE_REPARSE_POINT = 0x000900AC,
  20. FSCTL_SET_OBJECT_ID_EXTENDED = 0x000900BC,
  21. FSCTL_CREATE_OR_GET_OBJECT_ID = 0x000900C0,
  22. FSCTL_SET_SPARSE = 0x000900C4,
  23. FSCTL_READ_FILE_USN_DATA = 0x000900EB,
  24. FSCTL_WRITE_USN_CLOSE_RECORD = 0x000900EF,
  25. FSCTL_QUERY_SPARING_INFO = 0x00090138,
  26. FSCTL_QUERY_ON_DISK_VOLUME_INFO = 0x0009013C,
  27. FSCTL_SET_ZERO_ON_DEALLOCATION = 0x00090194,
  28. FSCTL_QUERY_FILE_REGIONS = 0x00090284,
  29. FSCTL_QUERY_SHARED_VIRTUAL_DISK_SUPPORT = 0x00090300,
  30. FSCTL_SVHDX_SYNC_TUNNEL_REQUEST = 0x00090304,
  31. FSCTL_STORAGE_QOS_CONTROL = 0x00090350,
  32. FSCTL_SVHDX_ASYNC_TUNNEL_REQUEST = 0x00090364,
  33. FSCTL_QUERY_ALLOCATED_RANGES = 0x000940CF,
  34. FSCTL_OFFLOAD_READ = 0x00094264,
  35. FSCTL_SET_ZERO_DATA = 0x000980C8,
  36. FSCTL_SET_DEFECT_MANAGEMENT = 0x00098134,
  37. FSCTL_FILE_LEVEL_TRIM = 0x00098208, // SMB2-specific processing
  38. FSCTL_OFFLOAD_WRITE = 0x00098268,
  39. FSCTL_DUPLICATE_EXTENTS_TO_FILE = 0x00098344,
  40. FSCTL_SET_COMPRESSION = 0x0009C040,
  41. FSCTL_PIPE_WAIT = 0x00110018, // SMB2-specific processing
  42. FSCTL_PIPE_PEEK = 0x0011400C, // SMB2-specific processing
  43. FSCTL_PIPE_TRANSCEIVE = 0x0011C017, // SMB2-specific processing
  44. FSCTL_SRV_REQUEST_RESUME_KEY = 0x00140078, // SMB2-specific processing
  45. FSCTL_LMR_SET_LINK_TRACKING_INFORMATION = 0x001400EC,
  46. FSCTL_VALIDATE_NEGOTIATE_INFO = 0x00140204, // SMB2-specific processing
  47. FSCTL_LMR_REQUEST_RESILIENCY = 0x001401D4, // SMB2-specific processing
  48. FSCTL_QUERY_NETWORK_INTERFACE_INFO = 0x001401FC, // SMB2-specific processing
  49. FSCTL_SRV_ENUMERATE_SNAPSHOTS = 0x00144064, // SMB2-specific processing
  50. FSCTL_SRV_COPYCHUNK = 0x001440F2, // SMB2-specific processing
  51. FSCTL_SRV_READ_HASH = 0x001441BB, // SMB2-specific processing
  52. FSCTL_SRV_COPYCHUNK_WRITE = 0x001480F2, // SMB2-specific processing
  53. }
  54. }