Hi,
I’m in the process of converting an upper filter driver into a lower filter driver, and I"m stuck at the point of getting device numbers for the disks in the system. Calling IOCTL_STORAGE_GET_DEVICE_NUMBER works perfectly for the upper filter, but returns STATUS_INVALID_DEVICE_REQUEST when the lower filter calls it. If I’m understanding it correctly, the call is handled by the class driver. Is there any way for the lower filter to fill in the STORAGE_DEVICE_NUMBER struct with the same information? So far I’ve drawn a blank both at MSDN and on the web.
Thanks in advance,
Dennis