Partager via


2.5 File System Information Classes

File system information classes are numerical values (specified by the Level column in the following table) that specify what information on a particular instance of a file system on a volume is to be queried. File system information classes can retrieve information such as the file system type, volume label, size of the file system, and name of the driver used to access the file system. The table indicates which file system information classes are supported for query and set operations.<147>

File system information class

Level

Uses

FileFsVolumeInformation

1

Query

FileFsLabelInformation

2

LOCAL<148>

FileFsSizeInformation

3

Query

FileFsDeviceInformation

4

Query

FileFsAttributeInformation

5

Query

FileFsControlInformation

6

 Query, Set

FileFsFullSizeInformation

7

Query

FileFsObjectIdInformation

8

Query, Set

FileFsDriverPathInformation

9

LOCAL<149>

FileFsVolumeFlagsInformation

10

LOCAL<150>

FileFsSectorSizeInformation

11

Query

If an Information Class is specified that does not match the usage in the above table, STATUS_INVALID_INFO_CLASS MUST be returned. If a file system does not implement one of the above defined uses of an Information Class, STATUS_INVALID_PARAMETER MUST be returned.