Hi,
I tried to create a local IRP and send it down to read the data, when i get
an IRP with NOCACHE is set(paging_io not set).
But, IoCallDriver is always failing and returning me a status of
INVALID_USER_BUFFER.
Why does it happen? Is it not possible to create a irp to read, when i get
an IRP with NOCACHE set(paging_io not set).
With Thanks,
A.Ilamparithi.
The IRP you are creating has an invalid UserBuffer value. The
underlying file system probes and locks (Irp->UserBuffer) but that
operation is failing. Try using a valid UserBuffer address.
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
Looking forward to seeing you at the Next OSR File Systems Class April
4, 2004 in Boston!
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of A.Ilamparithi
Sent: Saturday, November 06, 2004 6:08 AM
To: ntdev redirect
Subject: [ntdev] IRP with NOCACHE set(paging_io not set)
Hi,
I tried to create a local IRP and send it down to read the data, when i
get
an IRP with NOCACHE is set(paging_io not set).
But, IoCallDriver is always failing and returning me a status of
INVALID_USER_BUFFER.
Why does it happen? Is it not possible to create a irp to read, when i
get
an IRP with NOCACHE set(paging_io not set).
With Thanks,
A.Ilamparithi.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Am creating the Local IRP using IoBuildAsynchronousFsdRequest for reading.
Local Irp is able to read the data (for other types of IRP).
But, IoCallDriver fails saying that STATUS_INVALID_USER_BUFFER, when i try
to create and send the Local Irp down ( on gettig a IRP with NO_CACHE set
and paging io not set).
With Thanks,
A.Ilamparithi.
“Tony Mason” wrote in message news:xxxxx@ntdev…
The IRP you are creating has an invalid UserBuffer value. The
underlying file system probes and locks (Irp->UserBuffer) but that
operation is failing. Try using a valid UserBuffer address.
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
Looking forward to seeing you at the Next OSR File Systems Class April
4, 2004 in Boston!
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of A.Ilamparithi
Sent: Saturday, November 06, 2004 6:08 AM
To: ntdev redirect
Subject: [ntdev] IRP with NOCACHE set(paging_io not set)
Hi,
I tried to create a local IRP and send it down to read the data, when i
get
an IRP with NOCACHE is set(paging_io not set).
But, IoCallDriver is always failing and returning me a status of
INVALID_USER_BUFFER.
Why does it happen? Is it not possible to create a irp to read, when i
get
an IRP with NOCACHE set(paging_io not set).
With Thanks,
A.Ilamparithi.
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com