FLT_PARAMETERS for IRP_MJ_QUERY_INFORMATION union

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

Syntax

typedef union _FLT_PARAMETERS {
  ...    ;
  struct {
    ULONG                                    Length;
    FILE_INFORMATION_CLASS POINTER_ALIGNMENT FileInformationClass;
    PVOID                                    InfoBuffer;
  } QueryFileInformation;
  ...    ;
} FLT_PARAMETERS, *PFLT_PARAMETERS;

Members

  • QueryFileInformation: Structure containing the following members.

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

  • FileInformationClass: Type of file information to be returned. One of the following:

    Value Meaning
    FileAllInformation Return a FILE_ALL_INFORMATION structure for the file.
    FileAttributeTagInformation Return a FILE_ATTRIBUTE_TAG_INFORMATION structure for the file.
    FileBasicInformation Return a FILE_BASIC_INFORMATION structure for the file.
    FileCompressionInformation Return a FILE_COMPRESSION_INFORMATION structure for the file.
    FileEaInformation Return a FILE_EA_INFORMATION structure for the file.
    FileInternalInformation Return a FILE_INTERNAL_INFORMATION structure for the file.
    FileMoveClusterInformation Return a FILE_MOVE_CLUSTER_INFORMATION structure for the file.
    FileNameInformation Return a FILE_NAME_INFORMATION structure for the file.
    FileNetworkOpenInformation Return a single FILE_NETWORK_OPEN_INFORMATION structure for the file
    FilePositionInformation Return a single FILE_POSITION_INFORMATION structure for the file.
    FileStandardInformation Return a single FILE_STANDARD_INFORMATION structure for the file.
    FileStreamInformation Return a single FILE_STREAM_INFORMATION structure for the file.
  • InfoBuffer: Pointer to the output buffer where the file information is to be returned.

Remarks

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

IRP_MJ_QUERY_INFORMATION can be an IRP-based operation or a fast I/O operation.

Requirements

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

See also

FILE_ATTRIBUTE_TAG_INFORMATION

FILE_BASIC_INFORMATION

FILE_INTERNAL_INFORMATION

FILE_NAME_INFORMATION

FILE_NETWORK_OPEN_INFORMATION

FILE_POSITION_INFORMATION

FILE_POSITION_INFORMATION FILE_STANDARD_INFORMATION

FILE_STREAM_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_QUERY_INFORMATION