#ifndef _NTIOAPI_H
typedef struct _FILE_FS_DEVICE_INFORMATION
{
    DEVICE_TYPE DeviceType;
    ULONG Characteristics;
} FILE_FS_DEVICE_INFORMATION, *PFILE_FS_DEVICE_INFORMATION;
View code on GitHub// wdm.h
typedef struct _FILE_FS_DEVICE_INFORMATION {
  DEVICE_TYPE DeviceType;
  ULONG       Characteristics;
} FILE_FS_DEVICE_INFORMATION, *PFILE_FS_DEVICE_INFORMATION;
View the official Windows Driver Kit DDI referenceNo description available.
The FILE_FS_DEVICE_INFORMATION structure provides file system device information about the type of device object associated with a file object.
DeviceTypeSet when a driver calls IoCreateDevice as appropriate for the type of underlying device. For more information, see Specifying Device Types.
CharacteristicsThe device characteristics. For a description of relevant values, see DEVICE_OBJECT.
This structure is documented in Windows Driver Kit.
FILE_FS_DEVICE_INFORMATION represents output buffer in a call to NtQueryVolumeInformationFile with FileFsDeviceInformation information class. Structure is available in <ntddk.h> header file from Win2000 DDK.
Numeric device types are defined in <ntddk.h> as FILE_DEVICE_* precompiler definitions.
Or-ed bit mask of device characteristic. Can be one of:
FILE_REMOVABLE_MEDIAFILE_READ_ONLY_DEVICEFILE_FLOPPY_DISKETTEFILE_WRITE_ONCE_MEDIAFILE_REMOTE_DEVICEFILE_DEVICE_IS_MOUNTEDFILE_VIRTUAL_VOLUMEFILE_AUTOGENERATED_DEVICE_NAMEFILE_DEVICE_SECURE_OPEN