#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 GitHubThis 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