Typically the phCODEC parameter is set to NULL. If multiple CODEC algorithms are all installed in one DLL with separate entry points, subsequent open calls can have the phCODEC set to the first returned handle. This allows the CODEC procedure to share the same movie data structure among the different algorithms.