#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
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_MEDIA
FILE_READ_ONLY_DEVICE
FILE_FLOPPY_DISKETTE
FILE_WRITE_ONCE_MEDIA
FILE_REMOTE_DEVICE
FILE_DEVICE_IS_MOUNTED
FILE_VIRTUAL_VOLUME
FILE_AUTOGENERATED_DEVICE_NAME
FILE_DEVICE_SECURE_OPEN