Virtual Mass Storage

Basically the idea which i want to do is that I had one Mass Storage USB
device… which is connected to Client System, now i captured this device object
and IRP’s and sends it to server where there is againg a driver which will pass
IRP’s as normally as device is attached to the same device. So that the
application running in server should feel that device is attched to the same
system not in some otther system.
As in server there isnt any device attached so i want to load all device drivers and
passing of IRP, URB’s… So i had devided work first capturing of URB’s, device object, IRPs
etc… Second simulatin of USB device…for which i was in need of PDO… so that I should
be able to simulate New Hardware Found window should come…

Why is it important that your virtual device driver look like a USB device? Why not implement a root-enumerated (software-only) device of the “disk” device class? Then you won’t need to bend over backwards to get into the USB stack, when you really don’t care about USB at all.

– arlie

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.co.in
Sent: Thursday, September 07, 2006 10:08 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Virtual Mass Storage

Basically the idea which i want to do is that I had one Mass Storage USB device… which is connected to Client System, now i captured this device object and IRP’s and sends it to server where there is againg a driver which will pass IRP’s as normally as device is attached to the same device. So that the application running in server should feel that device is attched to the same system not in some otther system.
As in server there isnt any device attached so i want to load all device drivers and passing of IRP, URB’s… So i had devided work first capturing of URB’s, device object, IRPs etc… Second simulatin of USB device…for which i was in need of PDO… so that I should be able to simulate New Hardware Found window should come…


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

xxxxx@yahoo.co.in wrote:

Basically the idea which i want to do is that I had one Mass Storage USB
device… which is connected to Client System, now i captured this device object
and IRP’s and sends it to server where there is againg a driver which will pass
IRP’s as normally as device is attached to the same device. So that the
application running in server should feel that device is attched to the same
system not in some otther system.
As in server there isnt any device attached so i want to load all device drivers and
passing of IRP, URB’s… So i had devided work first capturing of URB’s, device object, IRPs
etc… Second simulatin of USB device…for which i was in need of PDO… so that I should
be able to simulate New Hardware Found window should come…

This is SO the wrong way to do this. You can achieve your goal today
using “net share” and “net use”, without any weird driver stuff at all.
Just share the device from the client system, and mount it on the server
as a drive letter. That’s the way Terminal Server provides this exact
same function.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.