PECompact CODEC Plug-ins

GetNumberOfCodecs API


DWORD WINAPI GetNumberOfCodecs();

Parameters:


Return Value:

The return value is the number of codecs hosted by this module (dll).

Remarks:

A codec host module (dll) may contain any number of codecs. This function is used to ascertain the number of codecs in the module. The codecs are invoked for encoding in the ascending order of their index numbers (i.e. 0, 1, 2, 3, ...). During decoding the codecs are invoked in the opposite [descending] order.