The ICGetState macro queries a video compression driver to return its current configuration in a block of memory. You can use this macro or explicitly call the ICM_GETSTATE message.
DWORD ICGetState(
hic,
pv,
cb
);
If pv is NULL, returns the amount of memory, in bytes, required for configuration information.
If pv is not NULL, returns ICERR_OK if successful or an error otherwise.
The ICGetStateSize macro returns the number of bytes used by the state data.
The structure used to represent configuration information is driver specific and is defined by the driver.
Use ICGetStateSize before calling the ICGetState macro to determine the size of buffer to allocate for the call.
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 Macros, ICGetStateSize, ICM_GETSTATE