2.12. Conclusion

This chapter presents many of the individual concepts involved in handling and manipulating files. In Windows, file access is quite interesting because of all of the different techniques available in the APIs: normal file I/O, overlapped I/O, compressed files, file mapping, and so on.

The CreateFile, ReadFile, and WriteFile concepts discussed in this chapter apply not only to files, but also to several other I/O channels. For example, these same functions appear in Chapters 8, 11, and 14.

Chapter 7 discusses synchronization and contains several sections that discuss overlapped and extended overlapped I/O in detail. Section 6.11 discusses interprocess communication, and file mapping can be a very useful technique.

Chapters 3

Get Win32 System Services: The Heart of Windows® 98 and Windows® 2000 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.