Compartir a través de


enumeración WDF_FILE_INFORMATION_CLASS (wdffileobject.h)

[Advertencia: UMDF 2 es la versión más reciente de UMDF y sustituye a UMDF 1. Todos los controladores UMDF nuevos deben escribirse con UMDF 2. No se agregan nuevas características a UMDF 1 y hay compatibilidad limitada con UMDF 1 en versiones más recientes de Windows 10. Los controladores universales de Windows deben usar UMDF 2. Para obtener más información, consulta Introducción con UMDF.

La enumeración WDF_FILE_INFORMATION_CLASS identifica los tipos de información de archivo que un controlador puede obtener o establecer.

Syntax

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;

Constantes

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

Comentarios

La enumeración WDF_FILE_INFORMATION_CLASS se usa como valor de entrada para IWDFIoRequest2::GetQueryInformationParameters y como un valor de salida de IWDFIoRequest2::GetSetInformationParameters.

Para la mayoría de los valores que define la enumeración WDF_FILE_INFORMATION_CLASS , el archivo de encabezado wdm.h o ntifs.h define una estructura con nombre FILE_XXXX_INFORMATION que el controlador puede usar al obtener o establecer la información del archivo.

Para obtener más información sobre el valor de enumeración y las estructuras asociadas, vea la descripción del parámetro FileInformationClass de ZwQueryInformationFile y ZwSetInformationFile.

Requisitos

Requisito Value
Versión mínima de UMDF 1,9
Encabezado wdffileobject.h (incluya Wudfddi.h)

Consulte también

IWDFIoRequest2::GetQueryInformationParameters

IWDFIoRequest2::GetSetInformationParameters