ICCVID: Add support for ICM_DECOMPRESS_END message
Dmitry Timoshkov
dmitry at baikal.ru
Wed Dec 14 08:26:19 CST 2005
Hello,
Changelog:
Dmitry Timoshkov <dmitry at codeweavers.com>
ICCVID: Add support for ICM_DECOMPRESS_END message.
--- cvs/hq/wine/dlls/iccvid/iccvid.c 2005-12-13 19:54:10.000000000 +0800
+++ wine/dlls/iccvid/iccvid.c 2005-12-14 18:17:19.000000000 +0800
@@ -931,6 +931,16 @@ static LRESULT ICCVID_GetInfo( ICCVID_In
return sizeof(ICINFO);
}
+static LRESULT ICCVID_DecompressEnd( ICCVID_Info *info )
+{
+ if( info->cvinfo )
+ {
+ free_cvinfo( info->cvinfo );
+ info->cvinfo = NULL;
+ }
+ return ICERR_OK;
+}
+
LRESULT WINAPI ICCVID_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
LPARAM lParam1, LPARAM lParam2)
{
@@ -978,6 +988,10 @@ LRESULT WINAPI ICCVID_DriverProc( DWORD_
case ICM_DECOMPRESSEX:
return ICCVID_DecompressEx( info, (ICDECOMPRESSEX*) lParam1,
(DWORD) lParam2 );
+
+ case ICM_DECOMPRESS_END:
+ return ICCVID_DecompressEnd( info );
+
case DRV_CLOSE:
return ICCVID_Close( info );
More information about the wine-patches
mailing list