sane.ds: Add a log message to flag unsupported operations.

This commit is contained in:
Jeremy White 2009-02-09 13:02:47 -06:00 committed by Alexandre Julliard
parent c00d81ab14
commit 2033312b43
1 changed files with 3 additions and 0 deletions

View File

@ -386,5 +386,8 @@ TW_UINT16 SANE_SaneCapability (pTW_CAPABILITY pCapability, TW_UINT16 action)
if (twCC == TWCC_CAPUNSUPPORTED && action == MSG_QUERYSUPPORT) if (twCC == TWCC_CAPUNSUPPORTED && action == MSG_QUERYSUPPORT)
twCC = set_onevalue(pCapability, 0, TWTY_INT32); twCC = set_onevalue(pCapability, 0, TWTY_INT32);
if (twCC == TWCC_CAPUNSUPPORTED)
TRACE("capability 0x%x/action=%d being reported as unsupported\n", pCapability->Cap, action);
return twCC; return twCC;
} }