Vincent Povirk : twain_32: Detect devices in TWAIN_UserSelect.

Alexandre Julliard julliard at winehq.org
Thu Oct 12 13:47:51 CDT 2017


Module: wine
Branch: master
Commit: a247605894deb7b78acef14507ea62fbd26c26c4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a247605894deb7b78acef14507ea62fbd26c26c4

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Wed Oct 11 15:46:17 2017 -0500

twain_32: Detect devices in TWAIN_UserSelect.

Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/twain_32/dsm_ctrl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/twain_32/dsm_ctrl.c b/dlls/twain_32/dsm_ctrl.c
index 1d206c8..9d67dfb 100644
--- a/dlls/twain_32/dsm_ctrl.c
+++ b/dlls/twain_32/dsm_ctrl.c
@@ -266,6 +266,7 @@ TW_UINT16 TWAIN_UserSelect (pTW_IDENTITY pOrigin, TW_MEMREF pData)
         TRACE("DG_CONTROL/DAT_IDENTITY/MSG_USERSELECT SupportedGroups=0x%x ProductName=%s\n",
             selected->SupportedGroups, wine_dbgstr_a(selected->ProductName));
 
+        twain_autodetect();
 	if (!nrdevices) {
                 TRACE("<-- TWRC_FAILURE\n");
 		DSM_twCC = TWCC_OPERATIONERROR;




More information about the wine-cvs mailing list