WDF_FILE_INFORMATION_CLASS enumeration (wudfddi_types.h)

[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.

Syntax

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;

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.

Requirements

Requirement Value
Minimum UMDF version 1.9
Header wudfddi_types.h (include Wudfddi.h)

See also

IWDFIoRequest2::GetQueryInformationParameters

IWDFIoRequest2::GetSetInformationParameters