ICM_GETSTATE  1FVV6M 

The ICM_GETSTATE message queries a video compression driver to return its current configuration in a block of memory or to determine the amount of memory required to retrieve the configuration information. You can send this message explicitly or by using the ICGetState1YA.34 macro.

ICM_GETSTATE

wParam = (DWORD) (LPVOID) pv;

lParam = (DWORD) cb;

 

Parameters

pv

Address of a block of memory to contain the current configuration information. You can specify NULL for this parameter to determine the amount of memory required for the configuration information, as in ICGetStateSizeHFGT28.

cb

Size, in bytes, of the block of memory.

 

Return Values

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.

Remarks

The structure used to represent configuration information is driver specific and is defined by the driver.

See Also

ICGetState, ICGetStateSize