ICM_SETSTATE

The ICM_SETSTATE message is sent to a video compression driver to set the state of the compressor.

Parameters

dwParam1

Specifies a pointer to a block of memory containing configuration data, or NULL. If NULL, the driver should return to its default state.

dwParam2

Specifies the size of the block of memory.

Return Value

Returns the number of bytes actually used by the compressor. A return value of zero generally indicates an error.

Comments

Because the information used by ICM_SETSTATE is private and specific to a given compressor, client applications should use this message only to restore information previously obtained with the ICM_GETSTATE message.