ICCompressEnd  12IMNO0 

The ICCompressEnd macro notifies a video compression driver to end compression and free resources allocated for compression. You can use this macro or explicitly call the ICM_COMPRESS_ENDHWM.NQ message.

DWORD ICCompressEnd(

    hic

 

   );

 

 

Parameters

hic

Handle of the compressor.

 

Return Values

Returns ICERR_OK if successful or an error otherwise.

Remarks

VCM saves the settings of the most recent ICCompressBegin macro. ICCompressBegin and ICCompressEnd do not nest. If your driver receives the ICM_COMPRESS_BEGIN message before compression is stopped with the ICM_COMPRESS_END message, it should restart compression with new parameters.

See Also

ICCompressBegin, ICM_COMPRESS_END