Export (0) Print
Expand All

FILE_INFORMATION_CLASS enumeration

A value that specifies which structure to use to query or set information for a file object.

Syntax


typedef enum _FILE_INFORMATION_CLASS { 
  FileDirectoryInformation                 = 1,
  FileFullDirectoryInformation,
  FileBothDirectoryInformation,
  FileBasicInformation,
  FileStandardInformation,
  FileInternalInformation,
  FileEaInformation,
  FileAccessInformation,
  FileNameInformation,
  FileRenameInformation,
  FileLinkInformation,
  FileNamesInformation,
  FileDispositionInformation,
  FilePositionInformation,
  FileFullEaInformation,
  FileModeInformation,
  FileAlignmentInformation,
  FileAllInformation,
  FileAllocationInformation,
  FileEndOfFileInformation,
  FileAlternateNameInformation,
  FileStreamInformation,
  FilePipeInformation,
  FilePipeLocalInformation,
  FilePipeRemoteInformation,
  FileMailslotQueryInformation,
  FileMailslotSetInformation,
  FileCompressionInformation,
  FileObjectIdInformation,
  FileCompletionInformation,
  FileMoveClusterInformation,
  FileQuotaInformation,
  FileReparsePointInformation,
  FileNetworkOpenInformation,
  FileAttributeTagInformation,
  FileTrackingInformation,
  FileIdBothDirectoryInformation,
  FileIdFullDirectoryInformation,
  FileValidDataLengthInformation,
  FileShortNameInformation,
  FileIoCompletionNotificationInformation,
  FileIoStatusBlockRangeInformation,
  FileIoPriorityHintInformation,
  FileSfioReserveInformation,
  FileSfioVolumeInformation,
  FileHardLinkInformation,
  FileProcessIdsUsingFileInformation,
  FileNormalizedNameInformation,
  FileNetworkPhysicalNameInformation,
  FileIdGlobalTxDirectoryInformation,
  FileIsRemoteDeviceInformation,
  FileAttributeCacheInformation,
  FileNumaNodeInformation,
  FileStandardLinkInformation,
  FileRemoteProtocolInformation,
  FileReplaceCompletionInformation,
  FileMaximumInformation
} FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS;

Constants

FileDirectoryInformation

A FILE_DIRECTORY_INFORMATION structure.

FileFullDirectoryInformation

A FILE_FULL_DIR_INFORMATION structure.

FileBothDirectoryInformation

A FILE_BOTH_DIR_INFORMATION structure.

FileBasicInformation

A FILE_BASIC_INFORMATION structure.

FileStandardInformation

A FILE_STANDARD_INFORMATION structure.

FileInternalInformation

A FILE_INTERNAL_INFORMATION structure.

FileEaInformation

A FILE_EA_INFORMATION structure.

FileAccessInformation

A FILE_ACCESS_INFORMATION structure.

FileNameInformation

A FILE_NAME_INFORMATION structure.

FileRenameInformation

A FILE_RENAME_INFORMATION structure.

FileLinkInformation

A FILE_LINK_INFORMATION structure.

FileNamesInformation

A FILE_NAMES_INFORMATION structure.

FileDispositionInformation

A FILE_DISPOSITION_INFORMATION structure.

FilePositionInformation

A FILE_POSITION_INFORMATION structure.

FileFullEaInformation

A FILE_FULL_EA_INFORMATION structure.

FileModeInformation

A FILE_MODE_INFORMATION structure.

FileAlignmentInformation

A FILE_ALIGNMENT_INFORMATION structure.

FileAllInformation

A FILE_ALL_INFORMATION structure.

FileAllocationInformation

A FILE_ALLOCATION_INFORMATION structure.

FileEndOfFileInformation

A FILE_END_OF_FILE_INFORMATION structure.

FileAlternateNameInformation

A FILE_NAME_INFORMATION structure.

FileStreamInformation

A message buffer that contains one or more FILE_STREAM_INFORMATION structures.

FilePipeInformation

A FILE_PIPE_INFORMATION structure.

FilePipeLocalInformation

A FILE_PIPE_LOCAL_INFORMATION structure.

FilePipeRemoteInformation

A FILE_PIPE_REMOTE_INFORMATION structure.

FileMailslotQueryInformation

A FILE_MAILSLOT_QUERY_INFORMATION structure.

FileMailslotSetInformation

A FILE_MAILSLOT_SET_INFORMATION structure.

FileCompressionInformation

A FILE_COMPRESSION_INFORMATION structure.

FileObjectIdInformation

A FILE_OBJECTID_INFORMATION structure.

FileCompletionInformation

This value is reserved for system use.

FileMoveClusterInformation

This value is reserved for system use.

FileQuotaInformation

A FILE_QUOTA_INFORMATION structure.

FileReparsePointInformation

A FILE_REPARSE_POINT_INFORMATION structure.

FileNetworkOpenInformation

A FILE_NETWORK_OPEN_INFORMATION structure.

FileAttributeTagInformation

A FILE_ATTRIBUTE_TAG_INFORMATION structure.

FileTrackingInformation

This value is reserved for system use.

FileIdBothDirectoryInformation

A FILE_ID_BOTH_DIR_INFORMATION structure.

FileIdFullDirectoryInformation

A FILE_ID_FULL_DIR_INFORMATION structure.

FileValidDataLengthInformation

A FILE_VALID_DATA_LENGTH_INFORMATION structure.

FileShortNameInformation

A FILE_NAME_INFORMATION structure.

FileIoCompletionNotificationInformation

This value is reserved for system use. This value is available starting with Windows Vista.

FileIoStatusBlockRangeInformation

This value is reserved for system use. This value is available starting with Windows Vista.

FileIoPriorityHintInformation

A FILE_IO_PRIORITY_HINT_INFORMATION structure. This value is available starting with Windows Vista.

FileSfioReserveInformation

This value is reserved for system use. This value is available starting with Windows Vista.

FileSfioVolumeInformation

This value is reserved for system use. This value is available starting with Windows Vista.

FileHardLinkInformation

A FILE_LINKS_INFORMATION structure. This value is available starting with Windows Vista.

FileProcessIdsUsingFileInformation

A FILE_PROCESS_IDS_USING_FILE_INFORMATION structure. This value is reserved for system use. This value is available starting with Windows Vista.

FileNormalizedNameInformation

A FILE_NAME_INFORMATION structure. This value is defined starting with Windows Vista. It is supported starting with Windows 8.

FileNetworkPhysicalNameInformation

A FILE_NETWORK_PHYSICAL_NAME_INFORMATION structure. This value is available starting with Windows Vista.

FileIdGlobalTxDirectoryInformation

A FILE_ID_GLOBAL_TX_DIR_INFORMATION structure. This value is available starting with Windows 7.

FileIsRemoteDeviceInformation

A FILE_IS_REMOTE_DEVICE_INFORMATION structure. This value is reserved for system use. This value is available starting with Windows 7.

FileAttributeCacheInformation

This value is reserved for system use. This value is available starting with Windows 7.

FileNumaNodeInformation

A FILE_NUMA_NODE_INFORMATION structure. This value is reserved for system use. This value is available starting with Windows 7.

FileStandardLinkInformation

A FILE_STANDARD_LINK_INFORMATION structure. This value is reserved for system use. This value is available starting with Windows 7.

FileRemoteProtocolInformation

A FILE_REMOTE_PROTOCOL_INFORMATION structure. This value is reserved for system use. This value is available starting with Windows 7.

FileReplaceCompletionInformation

A FILE_COMPLETION_INFORMATION structure to change or remove the completion port associated with a file handle. This value is available starting with Windows 8.1.

FileMaximumInformation

This value is reserved for system use. This value is available starting with Windows 7.

Requirements

Version

Available in Windows XP, Windows Server 2003, and later versions of the Windows operating system unless otherwise specified above.

Header

Ntifs.h (include FltKernel.h or Ntifs.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft