解决单张扫描失败,配置不能重置的问题
This commit is contained in:
parent
7ddb5b1a11
commit
c553dbbbec
|
@ -688,6 +688,8 @@ HGResult HGTwainDSImpl::EnableWithSingleScan(HWND parent, HGDSEventFunc eventFun
|
|||
twUI.hParent = (TW_HANDLE)parent;
|
||||
if (TWRC_SUCCESS != m_dsmImpl->m_pDSMProc(&m_dsmImpl->m_AppId, &m_iden, DG_CONTROL, DAT_USERINTERFACE, MSG_ENABLEDS, (TW_MEMREF)&twUI))
|
||||
{
|
||||
SetCapInt(CAP_XFERCOUNT, TWTY_INT16, oldXferCount);
|
||||
|
||||
TW_STATUS status;
|
||||
m_dsmImpl->m_pDSMProc(&m_dsmImpl->m_AppId, &m_iden, DG_CONTROL, DAT_STATUS, MSG_GET, (TW_MEMREF)&status);
|
||||
if (status.ConditionCode == TWCC_CHECKDEVICEONLINE)
|
||||
|
|
Loading…
Reference in New Issue