WDF_FILE_INFORMATION_CLASS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdffileobject.h

typedef enum _WDF_FILE_INFORMATION_CLASS {
  WdfFileInformationDirectory = 1,
  WdfFileInformationFullDirectory = 2,
  WdfFileInformationBothDirectory = 3,
  WdfFileInformationBasic = 4,
  WdfFileInformationStandard = 5,
  WdfFileInformationInternal = 6,
  WdfFileInformationEa = 7,
  WdfFileInformationAccess = 8,
  WdfFileInformationName = 9,
  WdfFileInformationRename = 10,
  WdfFileInformationLink = 11,
  WdfFileInformationNames = 12,
  WdfFileInformationDisposition = 13,
  WdfFileInformationPosition = 14,
  WdfFileInformationFullEa = 15,
  WdfFileInformationMode = 16,
  WdfFileInformationAlignment = 17,
  WdfFileInformationAll = 18,
  WdfFileInformationAllocation = 19,
  WdfFileInformationEndOfFile = 20,
  WdfFileInformationAlternateName = 21,
  WdfFileInformationStream = 22,
  WdfFileInformationPipe = 23,
  WdfFileInformationPipeLocal = 24,
  WdfFileInformationPipeRemote = 25,
  WdfFileInformationMailslotQuery = 26,
  WdfFileInformationMailslotSet = 27,
  WdfFileInformationCompression = 28,
  WdfFileInformationObjectId = 29,
  WdfFileInformationCompletion = 30,
  WdfFileInformationMoveCluster = 31,
  WdfFileInformationQuota = 32,
  WdfFileInformationReparsePoint = 33,
  WdfFileInformationNetworkOpen = 34,
  WdfFileInformationAttributeTag = 35,
  WdfFileInformationTracking = 36,
  WdfFileInformationIdBothDirectory = 37,
  WdfFileInformationIdFullDirectory = 38,
  WdfFileInformationValidDataLength = 39,
  WdfFileInformationShortName = 40,
  WdfFileInformationIoCompletionNotification = 41,
  WdfFileInformationIoStatusBlockRange = 42,
  WdfFileInformationIoPriorityHint = 43,
  WdfFileInformationSfioReserve = 44,
  WdfFileInformationSfioVolume = 45,
  WdfFileInformationHardLink = 46,
  WdfFileInformationProcessIdsUsingFile = 47,
  WdfFileInformationNormalizedName = 48,
  WdfFileInformationNetworkPhysicalName = 49,
  WdfFileInformationIdGlobalTxDirectory = 50,
  WdfFileInformationIsRemoteDevice = 51,
  WdfFileInformationAttributeCache = 52,
  WdfFileInformationMaximum = 
} WDF_FILE_INFORMATION_CLASS, *PWDF_FILE_INFORMATION_CLASS;
View the official Windows Driver Kit DDI reference
// wudfddi_types.h

typedef enum _WDF_FILE_INFORMATION_CLASS {
  WdfFileInformationDirectory,
  WdfFileInformationFullDirectory,
  WdfFileInformationBothDirectory,
  WdfFileInformationBasic,
  WdfFileInformationStandard,
  WdfFileInformationInternal,
  WdfFileInformationEa,
  WdfFileInformationAccess,
  WdfFileInformationName,
  WdfFileInformationRename,
  WdfFileInformationLink,
  WdfFileInformationNames,
  WdfFileInformationDisposition,
  WdfFileInformationPosition,
  WdfFileInformationFullEa,
  WdfFileInformationMode,
  WdfFileInformationAlignment,
  WdfFileInformationAll,
  WdfFileInformationAllocation,
  WdfFileInformationEndOfFile,
  WdfFileInformationAlternateName,
  WdfFileInformationStream,
  WdfFileInformationPipe,
  WdfFileInformationPipeLocal,
  WdfFileInformationPipeRemote,
  WdfFileInformationMailslotQuery,
  WdfFileInformationMailslotSet,
  WdfFileInformationCompression,
  WdfFileInformationObjectId,
  WdfFileInformationCompletion,
  WdfFileInformationMoveCluster,
  WdfFileInformationQuota,
  WdfFileInformationReparsePoint,
  WdfFileInformationNetworkOpen,
  WdfFileInformationAttributeTag,
  WdfFileInformationTracking,
  WdfFileInformationIdBothDirectory,
  WdfFileInformationIdFullDirectory,
  WdfFileInformationValidDataLength,
  WdfFileInformationShortName,
  WdfFileInformationIoCompletionNotification,
  WdfFileInformationIoStatusBlockRange,
  WdfFileInformationIoPriorityHint,
  WdfFileInformationSfioReserve,
  WdfFileInformationSfioVolume,
  WdfFileInformationHardLink,
  WdfFileInformationProcessIdsUsingFile,
  WdfFileInformationNormalizedName,
  WdfFileInformationNetworkPhysicalName,
  WdfFileInformationIdGlobalTxDirectory,
  WdfFileInformationIsRemoteDevice,
  WdfFileInformationAttributeCache,
  WdfFileInformationMaximum
} WDF_FILE_INFORMATION_CLASS, *PWDF_FILE_INFORMATION_CLASS;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-wdffileobject-_wdf_file_information_class)

_WDF_FILE_INFORMATION_CLASS enumeration (wdffileobject.h)

Description

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

The WDF_FILE_INFORMATION_CLASS enumeration identifies the types of file information that a driver can obtain or set.

Constants

WdfFileInformationDirectory:1

WdfFileInformationFullDirectory:2

WdfFileInformationBothDirectory:3

WdfFileInformationBasic:4

WdfFileInformationStandard:5

WdfFileInformationInternal:6

WdfFileInformationEa:7

WdfFileInformationAccess:8

WdfFileInformationName:9

WdfFileInformationRename:10

WdfFileInformationLink:11

WdfFileInformationNames:12

WdfFileInformationDisposition:13

WdfFileInformationPosition:14

WdfFileInformationFullEa:15

WdfFileInformationMode:16

WdfFileInformationAlignment:17

WdfFileInformationAll:18

WdfFileInformationAllocation:19

WdfFileInformationEndOfFile:20

WdfFileInformationAlternateName:21

WdfFileInformationStream:22

WdfFileInformationPipe:23

WdfFileInformationPipeLocal:24

WdfFileInformationPipeRemote:25

WdfFileInformationMailslotQuery:26

WdfFileInformationMailslotSet:27

WdfFileInformationCompression:28

WdfFileInformationObjectId:29

WdfFileInformationCompletion:30

WdfFileInformationMoveCluster:31

WdfFileInformationQuota:32

WdfFileInformationReparsePoint:33

WdfFileInformationNetworkOpen:34

WdfFileInformationAttributeTag:35

WdfFileInformationTracking:36

WdfFileInformationIdBothDirectory:37

WdfFileInformationIdFullDirectory:38

WdfFileInformationValidDataLength:39

WdfFileInformationShortName:40

WdfFileInformationIoCompletionNotification:41

WdfFileInformationIoStatusBlockRange:42

WdfFileInformationIoPriorityHint:43

WdfFileInformationSfioReserve:44

WdfFileInformationSfioVolume:45

WdfFileInformationHardLink:46

WdfFileInformationProcessIdsUsingFile:47

WdfFileInformationNormalizedName:48

WdfFileInformationNetworkPhysicalName:49

WdfFileInformationIdGlobalTxDirectory:50

WdfFileInformationIsRemoteDevice:51

WdfFileInformationAttributeCache:52

WdfFileInformationMaximum:

Remarks

The WDF_FILE_INFORMATION_CLASS enumeration is used as an input value to IWDFIoRequest2::GetQueryInformationParameters and as an output value from IWDFIoRequest2::GetSetInformationParameters.

For most values that the WDF_FILE_INFORMATION_CLASS enumeration defines, the wdm.h or ntifs.h header file defines a FILE_XXXX_INFORMATION-named structure that the driver can use when obtaining or setting the file information.

For more information about the enumeration value and associated structures, see the description of the FileInformationClass parameter of ZwQueryInformationFile and ZwSetInformationFile.

See also

IWDFIoRequest2::GetQueryInformationParameters

IWDFIoRequest2::GetSetInformationParameters


Windows Driver Kit DDI reference (ne-wudfddi_types-_wdf_file_information_class)

_WDF_FILE_INFORMATION_CLASS enumeration (wudfddi_types.h)

Description

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

The WDF_FILE_INFORMATION_CLASS enumeration identifies the types of file information that a driver can obtain or set.

Constants

WdfFileInformationDirectory

WdfFileInformationFullDirectory

WdfFileInformationBothDirectory

WdfFileInformationBasic

WdfFileInformationStandard

WdfFileInformationInternal

WdfFileInformationEa

WdfFileInformationAccess

WdfFileInformationName

WdfFileInformationRename

WdfFileInformationLink

WdfFileInformationNames

WdfFileInformationDisposition

WdfFileInformationPosition

WdfFileInformationFullEa

WdfFileInformationMode

WdfFileInformationAlignment

WdfFileInformationAll

WdfFileInformationAllocation

WdfFileInformationEndOfFile

WdfFileInformationAlternateName

WdfFileInformationStream

WdfFileInformationPipe

WdfFileInformationPipeLocal

WdfFileInformationPipeRemote

WdfFileInformationMailslotQuery

WdfFileInformationMailslotSet

WdfFileInformationCompression

WdfFileInformationObjectId

WdfFileInformationCompletion

WdfFileInformationMoveCluster

WdfFileInformationQuota

WdfFileInformationReparsePoint

WdfFileInformationNetworkOpen

WdfFileInformationAttributeTag

WdfFileInformationTracking

WdfFileInformationIdBothDirectory

WdfFileInformationIdFullDirectory

WdfFileInformationValidDataLength

WdfFileInformationShortName

WdfFileInformationIoCompletionNotification

WdfFileInformationIoStatusBlockRange

WdfFileInformationIoPriorityHint

WdfFileInformationSfioReserve

WdfFileInformationSfioVolume

WdfFileInformationHardLink

WdfFileInformationProcessIdsUsingFile

WdfFileInformationNormalizedName

WdfFileInformationNetworkPhysicalName

WdfFileInformationIdGlobalTxDirectory

WdfFileInformationIsRemoteDevice

WdfFileInformationAttributeCache

WdfFileInformationMaximum

Remarks

The WDF_FILE_INFORMATION_CLASS enumeration is used as an input value to IWDFIoRequest2::GetQueryInformationParameters and as an output value from IWDFIoRequest2::GetSetInformationParameters.

For most values that the WDF_FILE_INFORMATION_CLASS enumeration defines, the wdm.h or ntifs.h header file defines a FILE_XXXX_INFORMATION-named structure that the driver can use when obtaining or setting the file information.

For more information about the enumeration value and associated structures, see the description of the FileInformationClass parameter of ZwQueryInformationFile and ZwSetInformationFile.

See also

IWDFIoRequest2::GetQueryInformationParameters

IWDFIoRequest2::GetSetInformationParameters