ICDecompressExEnd

The ICDecompressExEnd macro notifies a video decompression driver to end decompression and free resources allocated for decompression. You can use this macro or explicitly call the ICM_DECOMPRESSEX_END message.

DWORD ICDecompressExEnd(
  hic  
);

Parameters

hic

Handle to a decompressor.

Return Values

Returns ICERR_OK if successful or an error otherwise.

Remarks

The driver frees any resources allocated for the ICM_DECOMPRESSEX_BEGIN message.

ICM_DECOMPRESSEX_BEGIN and ICM_DECOMPRESSEX_END do not nest. If your driver receives ICM_DECOMPRESSEX_BEGIN before decompression is stopped with ICM_DECOMPRESSEX_END, it should restart decompression with new parameters.

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, ICM_DECOMPRESSEX_END