This information class is used to query device information associated with a file system volume.
A FILE_FS_DEVICE_INFORMATION data element, defined as follows, is returned by the server.
DeviceType (4 bytes): This identifies the type of given volume. It MUST be one of the following.
Volume resides on a CD ROM.
Volume resides on a disk.
Characteristics (4 bytes): A bit field which identifies various characteristics about a given volume. The following are valid bit values.
Indicates that the storage device supports removable media. Notice that this characteristic indicates removable media, not a removable device. For example, drivers for JAZ drive devices specify this characteristic, but drivers for PCMCIA flash disks do not.
Indicates that the device cannot be written to.
Indicates that the device is a floppy disk device.
Indicates that the device supports write-once media.
Indicates that the volume is for a remote file system like SMB or CIFS.
Indicates that a file system is mounted on the device.
Indicates that the volume does not directly reside on storage media, but resides on some other type of media (memory for example).
By default, volumes do not check the ACL associated with the volume, but instead use the ACLs associated with individual files on the volume. When this flag is set the volume ACL is also checked.
Indicates that the device object is part of a Terminal Services device stack. See [MS-RDPBCGR] for more information.
Indicates that a web-based Distributed Authoring and Versioning (WebDAV) file system is mounted on the device. See [MS-WDVME] for more information.
The IO Manager normally performs a full security check for traverse access on every file open when the client is an appcontainer. Setting of this flag bypasses this enforced traverse access check if the client token already has traverse privileges.<162>
Indicates that the given device resides on a portable bus like USB or Firewire and that the entire device (not just the media) can be removed from the system.
This operation returns a status code, as specified in [MS-ERREF] section 2.3. The status code returned directly by the function that processes this file information class MUST be STATUS_SUCCESS or one of the following.
The specified information record length does not match the length that is required for the specified information class.