Share via


ICGetStateSize

The ICGetStateSize macro queries a video compression driver to determine the amount of memory required to retrieve the configuration information. You can use this macro or explicitly call the ICM_GETSTATE message.

DWORD ICGetStateSize(
  hic  
);

Parameters

hic

Handle of the compressor.

Return Values

Returns the amount of memory, in bytes, required by the state information.

Remarks

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.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.

See Also

Video Compression Manager, Video Compression Macros, ICGetState, ICM_GETSTATE