Virtual Device Object

Hi,
I am attaching my filter driver as lower filter driver
for the DISK.
I am creating DeviceObject(RealDeviceObject) for the
DISK PDO.
Can I create a Virtual Device Object in addition to
the RealDeviceObject I would be creating in
AddDevice() routine.I want to create a virtual
DeviceObject and want the Disk driver to send the
request(I/Os) to this virtual DeviceObject rather than
the other DeviceObject.
I would be failing the Claim_Device for the
RealDeviceObject.I am also not registering the
realDeviceObject.
Right now I am creating the VirtualDeviceObject
whenever I get IRP_MN_START_DEVICE for the
realDeviceObject.But I am not receiving any
Claim_Device call to virtualDeviceObejct nor any
IRP_MN_START_DEVICE for the virtualDeviceObject.

Is there any way to accomplish this.

Any help would be appreciated.

Thanks in advance,
Gurpreet


Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com