ICInfo(3mms) — Subroutines
Name
ICInfo --- Return information about compressors and decompressors
Syntax
#include <mme/mme_api.h>
BOOL ICInfo(DWORD fccType,
DWORD fccHandler,
ICINFO ∗lpicinfo);
Arguments
DWORD fccType
Specifies a four-character code indicating the type of compressor or decompressor. For video, the value should be ICTYPE_VIDEO or the FOURCC "vidc". For audio, the value should be ICTYPE_AUDIO or the FOURCC "audc".
DWORD fccHandler
Identifies a specific compressor or decompressor about which to get information. If this value is zero, then information about the first compressor or decompressor found of the type specified in the fccType argument is returned.
If this value is a number between 1 and the number of installed compressors of the type specified in the fccType argument, then information about the compressor or decompressor with that number is returned.
If this value is a FOURCC, then information about the compressor or decompressor denoted by that FOURCC is returned. The smallest possible FOURCC is four spaces "####", which converts to 128. Therefore, the greatest number of installed compressors is 127, from 1 to 127.
For the AV321 option module, this value is the FOURCC "J321". For the AV301 option module, this value is the FOURCC "J301". For the Sound and Motion J300 option module, this value is the FOURCC "J300". For the Software JPEG CODEC, this value is the FOURCC "SJPG". For the Software Indeo CODEC, this value is the FOURCC "IV32". For the Software H.261 CODEC, this value is the FOURCC "H261".
ICINFO ∗lpicinfo
Specifies a pointer to an ICINFO data structure used to return information about the compressor. The ICINFO data structure must be allocated with the mmeAllocMem function before being passed to ICInfo function.
Description
The ICInfo function returns information about specific installed compressors and decompressors, or it enumerates the compressors installed.
Extensions
None.
Return Values
Returns TRUE if the function is successful; otherwise, it returns FALSE.
See Also
None.