This function adds an entry to the compound-file table of contents (CTOC) chunk of an open RIFF compound-file. Duplicate entries are not allowed.
#define INCL_MMIOOS2 #include <os2.h> HMMCF hmmcf; /* RIFF file handle. */ PMMCTOCENTRY pmmctocentry; /* Pointer to MMCTOCENTRY. */ ULONG ulFlags; /* Flags. */ ULONG rc; /* Return codes. */ rc = mmioCFAddEntry(hmmcf, pmmctocentry, ulFlags);