How does IO manager notifies a failed lock

When issuing an IRP with a direct IO method
and the IO manager cannot perform the lock
to physical memory, does that IRP get to the driver ?
What is the error code the user is notified with ?

Thnaks
Tomer Goldberg

The IRP will not make it to the driver. I don't know the exact status
without checking the source, but i'd guess it's the win32 equivalent of
the NT status code STATUS_INSUFFICIENT_RESOURCES.

-p


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tomer Goldberg
Sent: Saturday, July 31, 2004 2:18 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How does IO manager notifies a failed lock

When issuing an IRP with a direct IO method
and the IO manager cannot perform the lock
to physical memory, does that IRP get to the driver ?
What is the error code the user is notified with ?

Thnaks
Tomer Goldberg

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

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

In my experience, the error returned by DeviceIoControl is ERROR_NOACCESS.

Mat


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Peter Wieland
Sent: Saturday, July 31, 2004 11:40 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] How does IO manager notifies a failed lock

The IRP will not make it to the driver.? I don't know the exact status
without checking the source, but i'd guess it's the win32 equivalent of the
NT status code STATUS_INSUFFICIENT_RESOURCES.
?
-p


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tomer Goldberg
Sent: Saturday, July 31, 2004 2:18 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How does IO manager notifies a failed lock
?
When issuing an IRP?with a direct IO method
and the IO manager cannot perform the lock
to physical memory, does that IRP get to the driver ?
What is the error code the user is notified with ?
?
Thnaks
Tomer Goldberg

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

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com ---
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@encentrus.com
To unsubscribe send a blank email to xxxxx@lists.osr.com