Most multimedia applications require file I/O—the ability to create, read, and write disk files. Multimedia file I/O services provide buffered and unbuffered file I/O, and support for standard IBM/Microsoft Resource Interchange File Format (RIFF) files. The services are extensible with custom I/O procedures that can be shared among applications.
This chapter covers the following topics:
Using basic file I/O services
Performing buffered file I/O
Working with RIFF files
Directly accessing a file I/O buffer
Using memory files
Writing a custom I/O procedure