Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Union component used when the MajorFunction field of the FLT_IO_PARAMETER_BLOCK structure for the operation is IRP_MJ_QUERY_VOLUME_INFORMATION.
Syntax
typedef union _FLT_PARAMETERS {
... ;
struct {
ULONG Length;
FS_INFORMATION_CLASS POINTER_ALIGNMENT FsInformationClass;
} QueryVolumeInformation;
PVOID VolumeBuffer;
... ;
} FLT_PARAMETERS, *PFLT_PARAMETERS;
Members
QueryVolumeInformation: Structure containing the following members.
Length: Length, in bytes, of the buffer at VolumeBuffer.
FsInformationClass: Type of volume information that the file system returns. One of the following:
Value Meaning FileFsAttributeInformation Return a FILE_FS_VOLUME_INFORMATION that contains information about the volume, such as the volume label, serial number, and creation time. FileFsControlInformation Return a FILE_FS_CONTROL_INFORMATION structure that contains file system control information about the volume. FileFsDeviceInformation Return a FILE_FS_DEVICE_INFORMATION structure that contains device information for the volume. FileFsDriverPathInformation Return a FILE_FS_DRIVER_PATH_INFORMATION structure that contains information about whether a specified driver is in the I/O path for the volume. The originator of the IRP_MJ_QUERY_VOLUME_INFORMATION request must store the name of the driver into the FILE_FS_DRIVER_PATH_INFORMATION structure before sending the IRP to the file system volume device stack. FileFsFullSizeInformation Return a FILE_FS_FULL_SIZE_INFORMATION structure that contains information about the total amount of space available on the volume. FileFsObjectIdInformation Return a FILE_FS_OBJECTID_INFORMATION structure that contains file-system-specific object ID information for the volume. Note that this is not the same as the (globally unique identifier [GUID]-based) unique volume name that the operating system assigns. FileFsSizeInformation Return a FILE_FS_SIZE_INFORMATION structure that contains information about the amount of space on the volume that is available to the user associated with the thread that originated the IRP_MJ_QUERY_VOLUME_INFORMATION request. FileFsVolumeInformation Return a FILE_FS_VOLUME_INFORMATION that contains information about the volume, such as the volume label, serial number, and creation time. FileFsSectorSizeInformation Return a FILE_FS_SECTOR_SIZE_INFORMATION structure that contains information about the physical and logical sector sizes of a volume. VolumeBuffer: Pointer to the output buffer where the volume information is to be returned.
Remarks
The FLT_PARAMETERS structure for IRP_MJ_QUERY_VOLUME_INFORMATION operations contains the parameters for an IRP-based query-volume-information operation represented by a callback data (FLT_CALLBACK_DATA) structure. It is contained in an FLT_IO_PARAMETER_BLOCK structure.
IRP_MJ_QUERY_VOLUME_INFORMATION is an IRP-based operation.
Requirements
Requirement type | Requirement |
---|---|
Header | Fltkernel.h (include Fltkernel.h) |
See also
FILE_FS_DRIVER_PATH_INFORMATION
FILE_FS_SECTOR_SIZE_INFORMATION FILE_FS_SIZE_INFORMATION