1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

twain_32: Detect devices in TWAIN_UserSelect.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Vincent Povirk 2017-10-11 15:46:17 -05:00 committed by Alexandre Julliard
parent 7fa90d26db
commit a247605894

View File

@ -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;