ICGetInfo(3mms) — Subroutines
Name
ICGetInfo --- Obtain information about a compressor or decompressor
Syntax
#include <mme/mme_api.h>
MMRESULT ICGetInfo(HIC hic,
ICINFO ∗lpicinfo,
DWORD cb);
Arguments
HIC hic
Specifies a handle to a compressor or decompressor.
ICINFO ∗lpicinfo
Specifies a pointer to an ICINFO data structure used to return information about the compressor or decompressor. The ICINFO data structure must be allocated with the mmeAllocMem function before being passed to the ICGetInfo function.
DWORD cb
Specifies the size in bytes of the data structure pointed to by the ∗lpicinfo argument.
Description
The ICGetInfo function obtains information about a compressor or decompressor.
Extensions
None.
Return Values
Returns ICERR_OK if the function is successful; otherwise, it returns one of the following error codes:
ICERR_BADHANDLE@T{ The hic argument is invalid or the compressor or decompressor is not open. T} ICERR_BADPARAM@T{ The lpicinfo argument is NULL. T}