From 67c826fc765f46b8a7058abf76e37302450f5192 Mon Sep 17 00:00:00 2001 From: gb <741021719@qq.com> Date: Thu, 7 Dec 2023 15:28:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AE=BE=E7=BD=AE=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E9=80=9A=E8=BF=87=E5=9B=9E=E8=B0=83=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E6=89=AB=E6=8F=8F=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- twain/twain/huagaods.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/twain/twain/huagaods.cpp b/twain/twain/huagaods.cpp index 700b418..9c77566 100644 --- a/twain/twain/huagaods.cpp +++ b/twain/twain/huagaods.cpp @@ -3924,10 +3924,11 @@ int huagao_ds::handle_scanner_event(int ev, bool from_event_proc) load_sane_util::log_info(msg, 1); } } - //else - //{ + else + { // notifyXferReady(); // scan from UI, should notify this state mannually - move to sole event SANE_EVENT_TWAIN_XFER_READY - //} + load_sane_util::log_info(L"Start scanning from UI callback SANE_EVENT_UI_SCAN_COMMAND.\r\n", 1); + } break; case SANE_EVENT_TWAIN_XFER_READY: load_sane_util::log_info(L"notifyXferReady ...\r\n", 1);