Driver Instance

Hi All,
my driver creates multiple device objects to be used by different
applications . I got a problem when i am operating on them simultaniously;
when one of the application is operating on one of the device objects, the
other applications which are operating on a different device objects are
NOT getting scheduled with the driver.
Is there any way to create a seperate instance of the driver for each of
the device objects so that the iomanager schedules them.

Thanks in advance,
-Naveen

Hi,

You need only one device object with a symbolic link name.
Many application can open this device.

In your IRP_MJ_CREATE handler you need for each call a new device
instance. Create this instance and get the pointer back in
IPR->FileObject.FsContext.

Check this IPR->FileObject.FsContext in each request (like
read, write , close …) Take this reference convert to
your device instance pointer and let your device instance object
process this request. So each application will work separatly.

elli