CSV_CONTROL_OP enumeration (winioctl.h)

Specifies the type of CSV control operation to use with the FSCTL_CSV_CONTROL control code.

Syntax

typedef enum _CSV_CONTROL_OP {
  CsvControlStartRedirectFile = 0x02,
  CsvControlStopRedirectFile = 0x03,
  CsvControlQueryRedirectState = 0x04,
  CsvControlQueryFileRevision = 0x06,
  CsvControlQueryMdsPath = 0x08,
  CsvControlQueryFileRevisionFileId128 = 0x09,
  CsvControlQueryVolumeRedirectState = 0x0a,
  CsvControlEnableUSNRangeModificationTracking = 0x0d,
  CsvControlMarkHandleLocalVolumeMount = 0x0e,
  CsvControlUnmarkHandleLocalVolumeMount = 0x0f,
  CsvControlGetCsvFsMdsPathV2 = 0x12,
  CsvControlDisableCaching = 0x13,
  CsvControlEnableCaching = 0x14,
  CsvControlStartForceDFO,
  CsvControlStopForceDFO,
  CsvControlQueryMdsPathNoPause,
  CsvControlSetVolumeId,
  CsvControlQueryVolumeId
} CSV_CONTROL_OP, *PCSV_CONTROL_OP;

Constants

 
CsvControlStartRedirectFile
Value: 0x02
Start file redirection.
CsvControlStopRedirectFile
Value: 0x03
Stop file redirection.
CsvControlQueryRedirectState
Value: 0x04
Search for state redirection. When this value is specified, the CSV_QUERY_REDIRECT_STATE structure must also be used.
CsvControlQueryFileRevision
Value: 0x06
Search for file revision. When this value is specified, the CSV_QUERY_FILE_REVISION structure must also be used.
CsvControlQueryMdsPath
Value: 0x08
CsvControlQueryFileRevisionFileId128
Value: 0x09
CsvControlQueryVolumeRedirectState
Value: 0x0a
CsvControlEnableUSNRangeModificationTracking
Value: 0x0d
CsvControlMarkHandleLocalVolumeMount
Value: 0x0e
CsvControlUnmarkHandleLocalVolumeMount
Value: 0x0f
CsvControlGetCsvFsMdsPathV2
Value: 0x12
CsvControlDisableCaching
Value: 0x13
CsvControlEnableCaching
Value: 0x14

Remarks

An alternative to calling the FSCTL_CSV_CONTROL control code with this enumeration is to use the CSV_CONTROL_PARAM structure, which encapsulates a member of this enumeration type.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012 [desktop apps only]
Header winioctl.h (include Windows.h)

See also