ICGetStateSize(3mms) — Subroutines
Name
ICGetStateSize --- Obtain size of state data used by a compressor or decompressor
Syntax
#include <mme/mme_api.h>
MMRESULT ICGetStateSize(HIC hic)
Arguments
HIC hic
Specifies a handle to a compressor or decompressor.
Description
The ICGetStateSize function obtains the size of the state data used by a compressor or decompressor. Use the ICGetStateSize function to get the size of the state data for the ICGetState and ICSetState buffers.
Extensions
None.
Return Values
Returns the number of bytes used by the state data if the function is successful; otherwise, it returns the following error code:
ICERR_BADHANDLE@T{ The hic argument is invalid or the compressor or decompressor is not open. T}