Hi,
I have a Volume Manager driver which creates a volume device object on which
the filesystem will be mounted. For now, this device has no relation to PnP
and is just a
standalone DO. I want to register this DO to Mount Manager,and to let Mount
Manager manage
the name space of the Volume.
It is ok to use IoReportDetectedDevice to get a Pdo,to use
IoAttachDeviceToDeviceStack to attach my DO to the Pdo,and to use
IoRegisterDeviceInterface to register the Pdo to MountMgr.However,when using
IoSetDeviceInterfaceState to Activate the InterfaceName, I am informed by
Lsass.exe that Object not found.And after a minute,the system reboots.
BTW:these are implemented in DriverEntry.
that's all I can tell you. Thanks for your help.
Steve