Loading the CODEC Procedure

Once a CODEC procedure is determined, the CODEC DLL is loaded and added to the linked list of CODECs currently loaded for this movie instance. The ioLoadCodecDLL routine shown in the following example first checks to see that the CODEC procedure is not already loaded in the list. If it is not loaded in the list, it sends a DOSLoadModule function to load the DLL and find the entry. Next, it initializes the CODEC procedure in the ffOpenCodec routine shown in the following example.

Note: Refer to the OS/2 Presentation Manager Guide and Reference for more information on the DosLoadModule function.