ICM_COMPRESS_END

The ICM_COMPRESS_END message is sent to a video compression driver to end compression. The driver should clean up after compressing and release any memory allocated for ICM_COMPRESS_BEGIN.

Parameters

dwParam1

Not used.

dwParam2

Not used.

Return Value

Returns ICERR_OK if successful. Otherwise, returns an error number.

Comments

The ICM_COMPRESS_BEGIN and ICM_COMPRESS_END messages do not nest. If your driver receives an ICM_COMPRESS_BEGIN message before compression is stopped with ICM_COMPRESS_END, it should restart compression with new parameters.