The information in this article applies to:
SUMMARY
The low-level file open functions in the C Run-time library for the 32-bit
Edition of Visual C++ accept some additional flags to allow you to take
advantage of Win32-specific file system features. These flags are not
available in the 16-bit version of Visual C++.
MORE INFORMATION
You can use these flags to improve file I/O performance in some cases. For
example, if you need to read from a large file sequentially, and do not
need to jump to different parts of the file, you most likely will improve
the performance of your application by using the _O_SEQUENTIAL flag when
opening the file. This translates to the FILE_FLAG_SEQUENTIAL_SCAN flag for
CreateFile. Q98756Increased Performance Using FILE_FLAG_SEQUENTIAL_SCAN Q103237Using Temporary File Can Improve Application PerformanceVisual C++ Books Online: Read the descriptions of the _open/_wopen and
Visual C++ Run-Time Library Reference, Part 2, Run-Time Reference: Read
the descriptions of _open/_wopen and _sopen/_wsopen.Win32 Programmer's Reference, Volume 3, Function Reference: Read the description of WIN32 API CreateFile. Additional query words: kbinf 1.00 2.00 2.10 4.00 open sopen option speed up faster
Keywords : kbCRT kbVC |
Last Reviewed: July 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |