This function enumerates the entries of a compound file. mmioFindElement is a 32-bit function that is also provided as a 16-bit entry point.
#define INCL_MACHDR
#include <os2.h>
ULONG ulCode; /* Enumeration code. */
PSZ pszElement; /* Pointer to element name. */
ULONG ulElementLen; /* Length of element buffer. */
PSZ pszFile; /* Pointer to compound-file name. */
ULONG ulReserved; /* Reserved. */
ULONG rc; /* Return codes. */
rc = mmioFindElement(ulCode, pszElement, ulElementLen,
pszFile, ulReserved);