I am not sure what the problem is, but for volmgr devices, such as \device\harddiskvolumeX, IoGetDeviceObjectPointer returns a FltMgr device!
I know that IoGetDeviceObjectPointer returns the top most device in the stack, but FltMgr is on a whole different stack? At least based on !stack and device tree, FltMgr devices are completely on a different stack compared to the harddiskvolume devices, so is this normal or..? Any better way to do this other than using IoGetDeviceObjectPointer?
I am not sure what the problem is, but for
volmgrdevices, such as\device\harddiskvolumeX,IoGetDeviceObjectPointerreturns a FltMgr device!I know that
IoGetDeviceObjectPointerreturns the top most device in the stack, butFltMgris on a whole different stack? At least based on!stackand device tree,FltMgrdevices are completely on a different stack compared to the harddiskvolume devices, so is this normal or..? Any better way to do this other than usingIoGetDeviceObjectPointer?