RIFF Compound File Functions

A RIFF compound file can contain multiple file elements. A file element is an individual file that is part of a RIFF compound file. An element of a compound file also could be an entire RIFF file. The MMIO Manager provides service to find, query, and access any file elements in a compound file. It also supports the function of file compaction.

The following MMIO functions enable you to manage RIFF compound files:

┌──────────────────────────────┬──────────────────────────────┐
│Function                      │Description                   │
├──────────────────────────────┼──────────────────────────────┤
│mmioCFOpen                    │Opens a RIFF compound file by │
│                              │name.                         │
├──────────────────────────────┼──────────────────────────────┤
│mmioCFClose                   │Closes a RIFF compound file   │
│                              │that was opened by mmioCFOpen.│
├──────────────────────────────┼──────────────────────────────┤
│mmioCFGetInfo                 │Retrieves the CTOC header of  │
│                              │an open RIFF compound file.   │
├──────────────────────────────┼──────────────────────────────┤
│mmioCFSetInfo                 │Modifies information that is  │
│                              │stored in the CTOC header of  │
│                              │an open RIFF compound file.   │
├──────────────────────────────┼──────────────────────────────┤
│mmioCFAddEntry                │Adds an entry to the CTOC     │
│                              │chunk of an open RIFF compound│
│                              │file.                         │
├──────────────────────────────┼──────────────────────────────┤
│mmioCFChangeEntry             │Changes a CTOC entry in an    │
│                              │open RIFF compound file.      │
├──────────────────────────────┼──────────────────────────────┤
│mmioCFFindEntry               │Finds a CTOC entry in an open │
│                              │RIFF compound file.           │
├──────────────────────────────┼──────────────────────────────┤
│mmioCFDeleteEntry             │Deletes a CTOC entry in an    │
│                              │open RIFF compound file.      │
├──────────────────────────────┼──────────────────────────────┤
│mmioCFAddElement              │Adds an element to the CGRP   │
│                              │chunk of an open RIFF compound│
│                              │file.                         │
├──────────────────────────────┼──────────────────────────────┤
│mmioCFCopy                    │Copies the CTOC and CGRP      │
│                              │chunks from an open RIFF      │
│                              │compound file to another RIFF │
│                              │compound file.                │
├──────────────────────────────┼──────────────────────────────┤
│mmioCFCompact                 │Compacts a RIFF compound file │
│                              │by removing elements marked as│
│                              │deleted.                      │
├──────────────────────────────┼──────────────────────────────┤
│mmioFindElement               │Enumerates the entries of a   │
│                              │compound file.                │
├──────────────────────────────┼──────────────────────────────┤
│mmioRemoveElement             │Removes the specified element │
│                              │in a compound file.           │
└──────────────────────────────┴──────────────────────────────┘


[Back: RIFF Compound File Overview]
[Next: The MMCFINFO Structure]