Basic I/O Functions

The following MMIO functions enable applications to manage basic multimedia file I/O operations. These functions, together with media independent operations, provide applications independence from a specific media type. Basic multimedia file I/O services are shown in the following table.

┌───────────────┬─────────────────────────────────────────────┐
│Function       │Description                                  │
├───────────────┼─────────────────────────────────────────────┤
│mmioOpen       │Opens or creates a file for reading, writing,│
│               │or both.                                     │
├───────────────┼─────────────────────────────────────────────┤
│mmioRead       │Reads a specified number of bytes from an    │
│               │open file.                                   │
├───────────────┼─────────────────────────────────────────────┤
│mmioWrite      │Writes a specified number of bytes to an open│
│               │file.                                        │
├───────────────┼─────────────────────────────────────────────┤
│mmioSeek       │Changes the current position for reading,    │
│               │writing, or both in an open file.            │
├───────────────┼─────────────────────────────────────────────┤
│mmioClose      │Closes an open file.                         │
└───────────────┴─────────────────────────────────────────────┘


[Back: MMIO Data Structures]
[Next: Opening or Creating a File]