read operation

Do all device/file/disk read calls go through the ReadFile/ReadFileEx api in
user land? Or is there any other way to accomplish this task?

I’m not sure what you mean, but page faulting is a good way to cause
file/disk/device IO.

“Albert Pinto” wrote in message news:xxxxx@ntdev…
Do all device/file/disk read calls go through the ReadFile/ReadFileEx api in
user land? Or is there any other way to accomplish this task?

Yes. Memory-mapping the file.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Albert Pinto”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, December 27, 2005 12:37 PM
Subject: [ntdev] read operation

Do all device/file/disk read calls go through the ReadFile/ReadFileEx api in
user land? Or is there any other way to accomplish this task?


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

It is scary that I’m answering a user mode question…

Don’t forget about ReadFileScatter. And of course you can use APIs in
other subsystems as well as the native API (NtReadFile).

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 in
Boston, MA April 24-27, 2006.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Thursday, December 29, 2005 8:22 PM
To: ntdev redirect
Subject: Re: [ntdev] read operation

Yes. Memory-mapping the file.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Albert Pinto”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, December 27, 2005 12:37 PM
Subject: [ntdev] read operation

Do all device/file/disk read calls go through the ReadFile/ReadFileEx
api in
user land? Or is there any other way to accomplish this task?


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
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@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com