The ICM_SETSTATE message notifies a video compression driver to set the state of the compressor. You can send this message explicitly or by using the ICSetState macro.
ICM_SETSTATE
wParam = (DWORD) (LPVOID) pv;
lParam = (DWORD) cb;
Returns the number of bytes used by the compressor if successful or zero otherwise.
The information used by this message 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 and should use the ICM_CONFIGURE message to adjust the configuration of a video compression driver.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Video Compression Manager Overview, Video Compression Messages, ICM_CONFIGURE, ICM_GETSTATE, ICSetState