Vijay Kiran Kamuju (@infyquest) commented about dlls/sane.ds/capability.c:
case MSG_SET: twCC = msg_set(pCapability, &val);
if (twCC == TWCC_SUCCESS)FIXME("Partial Stub: XFERCOUNT set to %ld, but ignored\n", val);
val16 = (TW_INT16) val;if (val16==0){// This case is explicitly mentioned in the TWAIN specification
Please avoid C++ style // comments, But use C style /* .. */ comments