Bagikan melalui


enumerasi WDF_FILE_INFORMATION_CLASS (wdffileobject.h)

[Peringatan: UMDF 2 adalah versi terbaru UMDF dan pengganti UMDF 1. Semua driver UMDF baru harus ditulis menggunakan UMDF 2. Tidak ada fitur baru yang ditambahkan ke UMDF 1 dan ada dukungan terbatas untuk UMDF 1 pada versi Windows 10 yang lebih baru. Driver Universal Windows harus menggunakan UMDF 2. Untuk informasi selengkapnya, lihat Mulai menggunakan UMDF.]

Enumerasi WDF_FILE_INFORMATION_CLASS mengidentifikasi jenis informasi file yang dapat diperoleh atau diatur oleh driver.

Sintaks

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;

Konstanta

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

Keterangan

Enumerasi WDF_FILE_INFORMATION_CLASS digunakan sebagai nilai input untuk IWDFIoRequest2::GetQueryInformationParameters dan sebagai nilai output dari IWDFIoRequest2::GetSetInformationParameters.

Untuk sebagian besar nilai yang ditentukan enumerasi WDF_FILE_INFORMATION_CLASS , file header wdm.h atau ntifs.h menentukan struktur bernama FILE_XXXX_INFORMATION yang dapat digunakan driver saat mendapatkan atau mengatur informasi file.

Untuk informasi selengkapnya tentang nilai enumerasi dan struktur terkait, lihat deskripsi parameter FileInformationClass dari ZwQueryInformationFile dan ZwSetInformationFile.

Persyaratan

Persyaratan Nilai
Versi UMDF minimum 1.9
Header wdffileobject.h (termasuk Wudfddi.h)

Lihat juga

IWDFIoRequest2::GetQueryInformationParameters

IWDFIoRequest2::GetSetInformationParameters