Commit Graph

82 Commits

Author SHA1 Message Date
Michael Cronenworth 4a91eb3626 twain_32: Global variable compatibility update for gcc 10.
Signed-off-by: Michael Cronenworth <mike@cchtml.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-24 18:21:03 +01:00
Andrey Gusev 5ea3a044b8 twain_32: Add missing debugstr_a.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:33:28 +02:00
Alexandre Julliard 04eb97f9ca twain_32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 10:31:19 +02:00
Michael Stefaniuc c9f65211bb twain_32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-31 09:25:00 +02:00
Francois Gouget f1b0a3d74b twain_32: Make userselect_dlgproc() static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-04 21:46:59 +01:00
Vincent Povirk 02d0d68bca twain_32: Implement source selection dialog.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-17 10:32:46 +01:00
Vincent Povirk 24a10e301a twain_32: Add support for DAT_NULL commands.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-23 11:26:53 +02:00
Vincent Povirk 8a118c2e0f twain_32: Notify data sources of their assigned Id.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-23 11:26:42 +02:00
Vincent Povirk a247605894 twain_32: Detect devices in TWAIN_UserSelect.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-12 08:49:21 +02:00
Vincent Povirk 7fa90d26db twain_32: Add debug traces to TWAIN_UserSelect.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-12 08:49:18 +02:00
Francois Gouget e0d7461d70 twain_32: Remove unneeded NONAMELESSXXX directives. 2015-03-24 20:01:19 +09:00
Gerald Pfeifer fc324d97bc twain_32: Avoid using an uninitialized variable in the failure path in path in a couple of cases. 2015-03-10 23:44:38 +09:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy 8e262f8736 twain_32: Ensure FreeLibrary is called on error case (coverity). 2013-11-29 17:58:38 +01:00
Frédéric Delanoy 6a847bd9cd twain_32: Use BOOL type where appropriate. 2013-11-26 10:15:43 +01:00
Michael Stefaniuc f67893bd82 twain_32/tests: Compile with -D__WINESRC__. 2013-10-18 11:32:06 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Francois Gouget 499eaca38b twain_32/tests: Generate an error and skip instead of assert()-ing when the setup fails. 2013-07-03 21:20:03 +02:00
Alexandre Julliard 731a3fea91 twain_32: Remove an unnecessary DllMain entry point. 2013-02-14 21:37:50 +01:00
Marcus Meissner 2c1d581ced twain_32: Mark some functions static and other internal ones hidden. 2011-04-27 11:50:08 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Detlef Riekenberg d13b2b658e twain_32/tests: Avoid a Dialog from a DS when the scanner is not connected. 2009-09-16 12:57:09 -05:00
Austin English dca3117f03 twain32: Fix a compiler warning on PC-BSD. 2009-03-25 11:08:05 +01:00
Alexandre Julliard 2b67a23fb0 twain_32: Make twain.dll into a stand-alone 16-bit module. 2009-03-23 20:34:02 +01:00
James Hawkins 0b74259f9d twain_32: Fix the use of an uninitialized variable (Coverity 908). 2009-03-23 16:31:28 +01:00
Jeremy White 4b92f6c966 twain_32: Revise internal documentation and one test slightly to bring into line with TWAIN 1.8 requirements. 2009-03-12 13:09:53 +01:00
Jeremy White 33ea7d0801 sane.ds: Add support for DG_IMAGE/DAT_IMAGELAYOUT/GET and SET. Enables Acrobat to use custom scan sizes. 2009-03-12 13:09:53 +01:00
Jeremy White 7a0a5c746f twain_32: Remove obsolete README files. 2009-03-09 13:26:37 +01:00
Jeremy White 81b288870e sane.ds: Add support for ICAP_SUPPORTEDSIZES, enabling rational sizing for scans. 2009-03-09 12:28:41 +01:00
Michael Stefaniuc 77f0a71d25 twain_32/tests: Remove superfluous pointer casts. 2009-03-06 15:39:09 +01:00
Jeremy White 1bdac9cf9d sane.ds: Sane should go first; that makes any actual scanner found the default device. 2009-03-06 12:49:04 +01:00
Jeremy White 28b708ca9e sane.ds: Add support for CAP_FEEDERENABLED. 2009-03-06 12:49:04 +01:00
Jeremy White 513b2b54a4 sane.ds: Add suport for CAP_AUTOFEED, make batch scans the default. 2009-03-06 12:49:04 +01:00
Jeremy White eae4ac9e8f sane.ds: Implement support for ICAP_PHYSICALHEIGHT and ICAP_PHYSICALWIDTH. 2009-03-06 12:49:04 +01:00
Francois Gouget 2ba5581924 twain_32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-26 12:18:54 +01:00
Jeremy White f75b5ebba6 sane.ds: Added support for ICAP_UNITS. 2009-02-26 12:12:10 +01:00
Jeremy White 982482e7e8 sane.ds: Add support for ICAP_BITDEPTH. 2009-02-26 12:12:01 +01:00
Jeremy White 6ace799f5a sane.ds: Implement support for ICAP_XRESOLUTION and ICAP_YRESOLUTION. 2009-02-24 16:57:29 +01:00
Andrew Talbot 820981b39d twain_32: Replace realloc() and strdup(). 2009-02-16 15:35:15 +01:00
Jeremy White 9bb24b8f7e sane.ds: Implement stub support for ICAP_PIXELFLAVOR. 2009-02-16 12:31:26 +01:00
Francois Gouget ec6285a125 twain_32/tests: Add a trailing '\n' to an ok() call. 2009-02-11 15:56:02 +01:00
Jeremy White b0ec8880e2 sane.ds: Add stub support for ICAP_COMPRESSION. 2009-02-10 12:55:56 +01:00
Jeremy White e02528e629 twain_32: Prevent an incorrect test warning message on get checks. 2009-02-10 12:55:16 +01:00
Jeremy White 2fdd05cffc twain_32: Change get requirements such that we require only a minimum level of support. 2009-02-10 12:55:05 +01:00
Jeremy White 6320266e58 sane.ds: Add support for CAP_UICONTROLLABLE. 2009-02-10 12:53:47 +01:00
Jeremy White 272c1881dd sane.ds: Add partial stub support for ICAP_PIXELTYPE, with tests. Fixes a first crash in Adobe Acrobat scanning support. 2009-02-10 12:53:34 +01:00