Article ID: 98756 - View products that this article applies to.
This article was previously published under Q98756
There is a flag for CreateFile() called FILE_FLAG_SEQUENTIAL_SCAN which will direct the Cache Manager to access the file sequentially.
Anyone reading potentially large files with sequential access can specify this flag for increased performance. This flag is useful if you are reading files that are "mostly" sequential, but you occasionally skip over small ranges of bytes.
The effect on the Cache Manager of this flag is two-fold:
If you are working on an application where your ability to sequentially read file data is key to performance, you may want to consider adding the sequential flag to your create file call. This is especially true of applications that use this flag to read from a CD-ROM.
Article ID: 98756 - Last Review: November 21, 2006 - Revision: 2.1
Contact us for more help
Connect with Answer Desk for expert help.