Incorrect data during transfers!

Hello all,
I found that the previous problem I reported was
because of specifying a rather huge buffer size (68
kB) for a buffered transfer request. I reduced that
and that solved the problem.
I have another issue that stumps me: I have a driver
that receives data from an user application (say A),
to complete read requests (say B). The device uses
DIRECT IO for data transfers, and I use BUFFERED
method for the IOCTL calls from the user application
to push data to the device. What I see is, the data I
send from the user application (A) to the device is
correct, but after copying the contents of this buffer
to the read request buffer (B’s buffer), and
completing the Irp, I dont see the same data in the
original read request buffer. (I check this from user
mode again in B’s completed buffer) Any ideas why?

regards
DK


Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html