This function loads the CODEC Proc installed in the MMPMMMIO.INI file and returns the entry point. It is normally issued by the IOProc to access the CODEC Proc.
#define INCL_MMIOOS2
#define INCL_MMIO_CODEC
#include <os2.h>
PCODECINIFILEINFO pCODECIniFileInfo; /* Pointer to CODECINIFILEINFO. */
PHMODULE phMod; /* Pointer. */
ULONG ulFlags; /* Flags. */
PCODECPROC rc; /* Address of CODEC Proc. */
rc = mmioLoadCODECProc(pCODECIniFileInfo,
phMod, ulFlags);