mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
vidc: Return error codes when a message isn't supported.
This commit is contained in:
parent
9f1c6bf6bc
commit
ed43709a38
@ -978,14 +978,13 @@ LRESULT WINAPI ICCVID_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
|
||||
case ICM_DECOMPRESSEX:
|
||||
return ICCVID_DecompressEx( info, (ICDECOMPRESSEX*) lParam1,
|
||||
(DWORD) lParam2 );
|
||||
|
||||
case DRV_CLOSE:
|
||||
return ICCVID_Close( info );
|
||||
|
||||
default:
|
||||
FIXME("Unknown message: %04x %ld %ld\n", msg, lParam1, lParam2);
|
||||
}
|
||||
return 0;
|
||||
return ICERR_UNSUPPORTED;
|
||||
}
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
|
||||
|
@ -482,7 +482,7 @@ LRESULT WINAPI CRAM_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
|
||||
LPARAM lParam1, LPARAM lParam2 )
|
||||
{
|
||||
Msvideo1Context *info = (Msvideo1Context *) dwDriverId;
|
||||
LRESULT r = 0;
|
||||
LRESULT r = ICERR_UNSUPPORTED;
|
||||
|
||||
TRACE("%ld %p %04x %08lx %08lx\n", dwDriverId, hdrvr, msg, lParam1, lParam2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user