ICSetSaturation(3mms) — Subroutines
Name
ICSetSaturation --- Set current saturation value
Syntax
#include <mme/mme_api.h>
MMRESULT ICSetSaturation(HIC hic,
DWORD dwSaturation);
Arguments
HIC hic
Specifies a handle to a compressor or decompressor.
DWORD dwSaturation
Specifies the saturation value. This value ranges from 0 to 10,000.
Description
The ICSetSaturation function sets the current saturation value. This function is only valid when decompressing an image into 8-bit X image format.
Extensions
The ICSetSaturation function is a Digital extension to the Microsoft multimedia API specification.
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 value of the dwSaturation argument is out of range. T} ICERR_CANTUPDATE@T{ The attribute cannot be modified. T} ICERR_UNSUPPORTED@T{ The function is not supported. T}