The following code illustrates how to add an entry.
HMMCF hmmcf1; MMCTOCENTRY mmctocentry; ULONG ulFlags; ULONG rc; ... ulFlags = 0; rc = mmioCFAddEntry(hmmcf1, &mmctocentry, ulFlags); if (rc) /* error */ else ...