Hello,
I have a problem with the implementation of MJ VOLUME INFORMATION ->
FileFsDeviceInformation. I’m writing a FILE_DEVICE_NETWORK_FILE_SYSTEM fs,
and when an application from ring 3 tries to open a file with fopen, I get
the VOLUME_INFORMATION MJ function with a request for the device
information. It seems straight forward to implement: I check that the file
object, and return the information about my device, i.e.,
FILE_DEVICE_NETWORK_FILE_SYSTEM with characteristics of
FILE_REMOTE_DEVICE. But the fopen fails. Only if “cheat” and return
FILE_DEVICE_DISK as my device type then fopen succeed. Why is it? What am
I doing wrong?
Thanks.
Gilad