Deleting a CTOC Entry

Use the mmioCFDeleteEntry function to delete a CTOC entry in an open RIFF compound file. The mmioCFDeleteEntry function requires a pmmctocentry parameter, which identifies a pointer to a user-supplied CTOC structure containing the RIFF compound file element name. The "identifier" for the entry is the element name, which is passed in the pmmctocentry field. The entry is marked "deleted" by the FOURCC of FOURCC_DEL. The actual element data remains in place. To physically remove both the entry and the element's data, use the mmioCFCopy function.


[Back: Finding a CTOC Entry]
[Next: Adding an Element to the CGRP Chunk]