If none of the flags are specified, the default is to match on the FOURCC.
The following is a procedure prototype for a standard CODEC procedure call.
PCODECPROC APIENTRY mmioLoadCODECProc (PCODECINIFILEINFO pCODECIniFileInfo, PHMODULE phMod, ULONG ulFlags);
The following example shows how to call a CODEC Proc and the required parameters.
LONG APIENTRY CODECProc (phCODEC, usMsg, 1Param1, 1Param2)
Note that CODECProc represents the entry point of a CODEC DLL.
phCODEC(PHCODEC) - Input/Output:
Pointer to a CODEC instance handle returned by MMIOM_CODEC_OPEN.
usMsg(USHORT) - Input
The message that the CODEC Proc is asked to process. The following predefined messages are documented separately.
MMIOM_CODEC_OPEN
MMIOM_CODEC_CLOSE
MMIOM_CODEC_COMPRESS
MMIOM_CODEC_DECOMPRESS
MMIOM_CODEC_QUERYNAME
MMIOM_CODEC_QUERYNAMELENGTH
1Param1(LONG) - input/output
Specifies additional message information.
1Param2(LONG) - input/output
Specifies additional message information.