I tried this and now am able to avoid FO_SYNCHRONOUS_IO.
But, in my windows vc++ program, readfail returns me 0, and error code(using
getlasterror()) gives me zero.
But, the buffer used in readfile() has the right data.
Why is this strange behaviour?
With Thanks,
A.Ilamparithi.
“Tony Mason” wrote in message news:xxxxx@ntfsd…
Ask for overlapped I/O operations.
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: Wednesday, November 17, 2004 11:12 AM
To: ntfsd redirect
Subject: [ntfsd] How to avoid FO_SYNCHRONOUS_IO?
Hi All,
How to avoid FO_SYNCHRONOUS_IO in fileobject?
Actually, In my Windows sample program, i just open the file using
CreateFile.
I then read using ReadFile().
In the filter driver, when i trap this read call, it comes with
FO_SYNCHRONOUS_IO flag set.
What call or flag should i use in my Windows vc++ program to avoid this
flag?
With Regards,
A.Ilamparithi.
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com