次の方法で共有


WDF_FILE_INFORMATION_CLASS列挙 (wdffileobject.h)

[警告: UMDF 2 は UMDF の最新バージョンであり、UMDF 1 よりも優先されます。 すべての新しい UMDF ドライバーは、UMDF 2 を使用して記述する必要があります。 UMDF 1 には新機能が追加されておらず、新しいバージョンのWindows 10では UMDF 1 のサポートが制限されています。 ユニバーサル Windows ドライバーでは UMDF 2 を使用する必要があります。 詳細については、「UMDF を使用したはじめに」を参照してください。

WDF_FILE_INFORMATION_CLASS列挙は、ドライバーが取得または設定できるファイル情報の種類を識別します。

構文

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;

定数

 
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列挙は、IWDFIoRequest2::GetQueryInformationParameters への入力値として、および IWDFIoRequest2::GetSetInformationParameters からの出力値として使用されます。

WDF_FILE_INFORMATION_CLASS列挙体が定義するほとんどの値について、wdm.h または ntifs.h ヘッダー ファイルは、ドライバーがファイル情報を取得または設定するときに使用できるFILE_XXXX_INFORMATION名前付き構造体を定義します。

列挙値と関連する構造体の詳細については、ZwQueryInformationFile および ZwSetInformationFile の FileInformationClass パラメーターの説明を参照してください。

要件

要件
最小 UMDF バージョン 1.9
Header wdffileobject.h (Wudfddi.h を含む)

こちらもご覧ください

IWDFIoRequest2::GetQueryInformationParameters

IWDFIoRequest2::GetSetInformationParameters