Export (0) Print
Expand All
max
min
Expand Minimize

ICSetState macro

The ICSetState macro notifies a video compression driver to set the state of the compressor. You can use this macro or explicitly call the ICM_SETSTATE message.

Syntax


DWORD ICSetState(
   hic,
   pv,
   cb
);

Parameters

hic

Handle of the compressor.

pv

Pointer to a block of memory containing configuration data. You can specify NULL for this parameter to reset the compressor to its default state.

cb

Size, in bytes, of the block of memory.

Return value

Returns the number of bytes used by the compressor if successful or zero otherwise.

Remarks

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 ICGetState and ICConfigure macros and should use the ICConfigure macro to adjust the configuration of a video compression driver.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

See also

Video Compression Manager
Video Compression Macros

 

 

Community Additions

ADD
Show:
© 2014 Microsoft