Conclusion

This chapter presents many of the individual concepts involved in handling and manipulating files. As you can see, in Windows CE file access is quite interesting because of all of the different techniques available in the API: normal file I/O, 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. Forexample, these same functions appear in Chapter 9, which looks at serial communications.

Memory-mapped files are a convenient way to access data in files and can also be used for sharing data between applications.

Get Windows® CE 3.0 Application Programming 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.