FLT_PARAMETERS for IRP_MJ_SET_VOLUME_INFORMATION union

Union component used when the MajorFunction field of the FLT_IO_PARAMETER_BLOCK structure for the operation is IRP_MJ_SET_VOLUME_INFORMATION.

Syntax

typedef union _FLT_PARAMETERS {
  ...    ;
  struct {
    ULONG                                  Length;
    FS_INFORMATION_CLASS POINTER_ALIGNMENT FsInformationClass;
    PVOID                                  VolumeBuffer;
  } SetVolumeInformation;
  ...    ;
} FLT_PARAMETERS, *PFLT_PARAMETERS;

Members

  • SetVolumeInformation: Structure containing the following members.

  • Length: Length, in bytes, of the buffer at VolumeBuffer.

  • FsInformationClass: Type of information to be set for the volume. One of the following:

Value Meaning
FileFsControlInformation Set FILE_FS_CONTROL_INFORMATION for the volume.
FileFsLabelInformation Set FILE_FS_LABEL_INFORMATION for the volume.
FileFsObjectIdInformation Set FILE_FS_OBJECTID_INFORMATION for the volume.
  • VolumeBuffer: Pointer to the input buffer that contains the values of the volume information to be set.

Remarks

The FLT_PARAMETERS structure for IRP_MJ_SET_VOLUME_INFORMATION operations contains the parameters for a set-volume-information operation represented by a callback data (FLT_CALLBACK_DATA) structure. It is contained in an FLT_IO_PARAMETER_BLOCK structure.

IRP_MJ_SET_VOLUME_INFORMATION is an IRP-based operation.

Requirements

Requirement type Requirement
Header Fltkernel.h (include Fltkernel.h)

See also

FILE_FS_CONTROL_INFORMATION

FILE_FS_LABEL_INFORMATION

FILE_FS_OBJECTID_INFORMATION

FLT_CALLBACK_DATA

FLT_IO_PARAMETER_BLOCK

FLT_IS_FASTIO_OPERATION

FLT_IS_FS_FILTER_OPERATION

FLT_IS_IRP_OPERATION

FLT_PARAMETERS

IRP_MJ_SET_VOLUME_INFORMATION

ZwSetVolumeInformationFile