FS_INFORMATION_CLASS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTIOAPI_H

typedef enum _FSINFOCLASS
{
    FileFsVolumeInformation = 1,            // q: FILE_FS_VOLUME_INFORMATION
    FileFsLabelInformation,                 // s: FILE_FS_LABEL_INFORMATION // SeManageVolumePrivilege
    FileFsSizeInformation,                  // q: FILE_FS_SIZE_INFORMATION
    FileFsDeviceInformation,                // q: FILE_FS_DEVICE_INFORMATION
    FileFsAttributeInformation,             // q: FILE_FS_ATTRIBUTE_INFORMATION
    FileFsControlInformation,               // qs: FILE_FS_CONTROL_INFORMATION // SeManageVolumePrivilege
    FileFsFullSizeInformation,              // q: FILE_FS_FULL_SIZE_INFORMATION
    FileFsObjectIdInformation,              // qs: FILE_FS_OBJECTID_INFORMATION // SeRestorePrivilege
    FileFsDriverPathInformation,            // q: FILE_FS_DRIVER_PATH_INFORMATION
    FileFsVolumeFlagsInformation,           // qs: FILE_FS_VOLUME_FLAGS_INFORMATION // SeManageVolumePrivilege // 10
    FileFsSectorSizeInformation,            // q: FILE_FS_SECTOR_SIZE_INFORMATION // since WIN8
    FileFsDataCopyInformation,              // q: FILE_FS_DATA_COPY_INFORMATION
    FileFsMetadataSizeInformation,          // q: FILE_FS_METADATA_SIZE_INFORMATION // since THRESHOLD
    FileFsFullSizeInformationEx,            // q: FILE_FS_FULL_SIZE_INFORMATION_EX // since REDSTONE5
    FileFsGuidInformation,                  // q: FILE_FS_GUID_INFORMATION // since 23H2
    FileFsMaximumInformation
} FSINFOCLASS, *PFSINFOCLASS;

#endif

View code on GitHub
// wdm.h

typedef enum _FSINFOCLASS {
  FileFsVolumeInformation,
  FileFsLabelInformation,
  FileFsSizeInformation,
  FileFsDeviceInformation,
  FileFsAttributeInformation,
  FileFsControlInformation,
  FileFsFullSizeInformation,
  FileFsObjectIdInformation,
  FileFsDriverPathInformation,
  FileFsVolumeFlagsInformation,
  FileFsSectorSizeInformation,
  FileFsDataCopyInformation,
  FileFsMetadataSizeInformation,
  FileFsFullSizeInformationEx,
  FileFsGuidInformation,
  FileFsMaximumInformation
} FS_INFORMATION_CLASS, *PFS_INFORMATION_CLASS;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-wdm-_fsinfoclass)

_FSINFOCLASS enumeration

Description

The FS_INFORMATION_CLASS enumeration contains the information class constants that specify what type of information structure is present for a set or a query operation.

Constants

FileFsVolumeInformation

Return a FILE_FS_VOLUME_INFORMATION structure that contains information about the volume such as the volume label, serial number, and creation time.

FileFsLabelInformation

Use a FILE_FS_LABEL_INFORMATION structure to set information a volume label.

FileFsSizeInformation

Return a FILE_FS_SIZE_INFORMATION structure containing information about the amount of space on the volume that is available to the user that is associated with the calling thread.

FileFsDeviceInformation

Return a FILE_FS_DEVICE_INFORMATION structure that contains device information for the volume.

FileFsAttributeInformation

Return a FILE_FS_ATTRIBUTE_INFORMATION structure that contains attribute information about the file system responsible for the volume.

FileFsControlInformation

Return a FILE_FS_CONTROL_INFORMATION structure that contains file system control information about the volume.

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 (GUID-based) unique volume name that is assigned by the operating system.

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.

FileFsVolumeFlagsInformation

Use a FILE_FS_VOLUME_FLAGS_INFORMATION structure to set the flags for a volume.

FileFsSectorSizeInformation

Return a FILE_FS_SECTOR_SIZE_INFORMATION structure that contains information about the physical and logical sector sizes of a volume.

FileFsDataCopyInformation

Returns a FILE_FS_DATA_COPY_INFORMATION structure that contains the number of data copies.

FileFsMetadataSizeInformation

Returns a FILE_FS_METADATA_SIZE_INFORMATION structure that contains the metadata size information.

FileFsFullSizeInformationEx

Returns a FILE_FS_FULL_SIZE_INFORMATION_EX structure that contains information about the total amount of space available on the volume.

FileFsGuidInformation

Returns a FILE_FS_GUID_INFORMATION structure that contains the GUID information.

FileFsMaximumInformation

End of this enumeration.


NTinternals.net (undocumented.ntinternals.net)

This enumeration is documented in Windows Driver Kit.


FS_INFORMATION_CLASS enumeration type is used in a call to NtQueryVolumeInformationFile and NtSetVolumeInformationFile.

FileFsVolumeInformation

FileFsLabelInformation

FileFsSizeInformation

FileFsDeviceInformation

FileFsAttributeInformation

FileFsControlInformation

FileFsFullSizeInformation

FileFsObjectIdInformation

Documented by

See also