This topic has not yet been rated - Rate this topic

2.4 File Information Classes

Note: Some of the information in this section is subject to change because it applies to a preliminary implementation of the protocol or structure. For information about specific differences between versions, see the behavior notes that are provided in the Product Behavior appendix.

File information classes are numerical values (specified by the Level column in the following table) that specify what information for a file is to be queried or set. File information classes can require additional information to be included in the query or the response. When appropriate, the additional information is detailed in the file information class description. The table indicates which file information classes are supported for query and set operations.<64>

File information class

Level

Uses

FileAccessInformation

8

Query

FileAlignmentInformation

17

Query

FileAllInformation

18

Query

FileAllocationInformation

19

Set

FileAlternateNameInformation

21

Query

FileAttributeTagInformation

35

Query

FileBasicInformation

4

Query, Set

FileBothDirectoryInformation

3

Query

FileCompressionInformation

28

Query

FileDirectoryInformation

1

Query

FileDispositionInformation

13

Set

FileEaInformation

7

Query

FileEndOfFileInformation

20

Set

FileFullDirectoryInformation

2

Query

FileFullEaInformation

15

Query, Set

FileHardLinkInformation

46

LOCAL<65>

FileIdBothDirectoryInformation

37

Query

FileIdFullDirectoryInformation

38

Query

FileIdGlobalTxDirectoryInformation

50

LOCAL<66>

FileInternalInformation

6

Query

FileLinkInformation

11

Set

FileMailslotQueryInformation

26

LOCAL<67>

FileMailslotSetInformation

27

LOCAL<68>

FileModeInformation

16

Query, Set<69>

FileMoveClusterInformation

31

<70>

FileNameInformation

9

LOCAL<71>

FileNamesInformation

12

Query

FileNetworkOpenInformation

34

Query

FileNormalizedNameInformation

48

<72>

FileObjectIdInformation

29

LOCAL<73>

FilePipeInformation

23

Query, Set

FilePipeLocalInformation

24

Query

FilePipeRemoteInformation

25

Query

FilePositionInformation

14

Query, Set

FileQuotaInformation

32

Query, Set<74>

FileRenameInformation

10

Set

FileReparsePointInformation

33

LOCAL<75>

FileSfioReserveInformation

44

LOCAL<76>

FileSfioVolumeInformation

45

<77>

FileShortNameInformation

40

Set

FileStandardInformation

5

Query

FileStandardLinkInformation

54

LOCAL<78>

FileStreamInformation

22

Query

FileTrackingInformation

36

LOCAL<79>

FileValidDataLengthInformation

39

Set

If a file system does not support a specific File Information Class, STATUS_INVALID_PARAMETER MUST be returned.

 
Did you find this helpful?
(1500 characters remaining)