From: Er. Prasanna B.R. [prasbr@teil.soft.net]
Sent: Monday, January 10, 2000 1:39 AM
To: ntfsd@atria.com; ntdev@atria.com
Subject: [ntdev] Read/Write Request to Hard Disk.

Hi,
    I am writing a filter driver to the Hard disk.  My driver attaches
to the different partitions of the Hard disk.  It is suppose to do
Read/Write on to the Partitions through an IOCTL, coming from the USER
mode application.  I am trying to use both NEITHER & DIRECT IO for
transferring the data.  On getting the IOCTL from the application, I am
suppose to build an IRP, build the SRB, and directly interact with the
SCSI PORT driver, bypassing the Class driver.

    Now my problem is that after doing IoAllocateIrp(...), I am
initializing it and building the SRB... (the Procedure is very similar
to that is happening in the class driver).  On calling the lower driver,
resulting in unsuccessful completion and with SenseInfoBuffer being
meaningless or untouched.  I would like to say that if I build the Irp
using "IoBuildDeviceIoControlRequest" independently to read a sector, it
is working fine... which confirms communication with port driver.

Please mail back if you want more information w.r.t my query, to clear
my doubt.

Thanks in advance.

Prasanna.
Sr. Engineer. (System Solutions Group)
Tata Elxsi Limited.
Bangalore.

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[ To unsubscribe, send email to ntdev-request@atria.com with body
UNSUBSCRIBE (the subject is ignored). ]
