2.5.3 FileFsDriverPathInformation
This information class is used locally to query if a given driver is in the I/O path for a file system volume.
A FILE_FS_DRIVER_PATH_INFORMATION data element, defined as follows, is returned to the caller.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DriverInPath |
Reserved |
||||||||||||||||||||||||||||||
DriverNameLength |
|||||||||||||||||||||||||||||||
DriverName (variable) |
|||||||||||||||||||||||||||||||
... |
DriverInPath (1 byte): A Boolean (section 2.1.8) value. Set to TRUE if the driver is in the I/O path for the file system volume; set to FALSE otherwise.
Reserved (3 bytes): Reserved for alignment. This field can contain any value and MUST be ignored.
DriverNameLength (4 bytes): A 32-bit unsigned integer that contains the length of the DriverName string.
DriverName (variable): A variable-length Unicode field containing the name of the driver for which to query. This sequence of Unicode characters MUST NOT be null-terminated.
This operation returns a status code as specified in section 2.2. Upon success, the status code returned by the function that processes this file system information class is STATUS_SUCCESS. The most common error codes are listed in the following table.
Error code |
Meaning |
---|---|
STATUS_INFO_LENGTH_MISMATCH 0xC0000004 |
The specified information record length does not match the length that is required for the specified information class. |