iccvid: Add support for ICM_DECOMPRESS_END message.
This commit is contained in:
parent
105450db4a
commit
bd52a2eedf
|
@ -931,6 +931,16 @@ static LRESULT ICCVID_GetInfo( ICCVID_Info *info, ICINFO *icinfo, DWORD dwSize )
|
||||||
return sizeof(ICINFO);
|
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,
|
LRESULT WINAPI ICCVID_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
|
||||||
LPARAM lParam1, LPARAM lParam2)
|
LPARAM lParam1, LPARAM lParam2)
|
||||||
{
|
{
|
||||||
|
@ -978,6 +988,10 @@ LRESULT WINAPI ICCVID_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
|
||||||
case ICM_DECOMPRESSEX:
|
case ICM_DECOMPRESSEX:
|
||||||
return ICCVID_DecompressEx( info, (ICDECOMPRESSEX*) lParam1,
|
return ICCVID_DecompressEx( info, (ICDECOMPRESSEX*) lParam1,
|
||||||
(DWORD) lParam2 );
|
(DWORD) lParam2 );
|
||||||
|
|
||||||
|
case ICM_DECOMPRESS_END:
|
||||||
|
return ICCVID_DecompressEnd( info );
|
||||||
|
|
||||||
case DRV_CLOSE:
|
case DRV_CLOSE:
|
||||||
return ICCVID_Close( info );
|
return ICCVID_Close( info );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue