Commit Graph

20 Commits

Author SHA1 Message Date
Alexandre Julliard 1fe2a12bfb sane.ds: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 12:50:22 +02:00
Alexandre Julliard 64d54282d8 sane.ds: Move SANE library calls to a separate Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 12:50:22 +02:00
Alexandre Julliard 383bb720e4 sane.ds: Convert the SANE parameters to a private structure.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 23:25:20 +02:00
Alexandre Julliard d63aa5dc7c sane.ds: Add helper function to set/get the scan area.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 23:25:20 +02:00
Alexandre Julliard b263ff26b9 sane.ds: Use Twain types and status codes in option helpers.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 23:25:20 +02:00
Alexandre Julliard ee280d8cc3 sane.ds: Don't pass the device handle to the option helpers.
Use the global variable instead.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 23:25:20 +02:00
Alexandre Julliard cf5bad0ecc configure: Disable sane.ds if the Unix library is missing.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 23:25:20 +02:00
Alexandre Julliard 37e358404f sane.ds: Include system headers before Windows headers. 2011-09-05 19:32:32 +02:00
Alexandre Julliard 9008daed92 sane.ds: Fix a pointer conversion warning on 64-bit. 2009-05-28 15:24:58 +02: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 83d4dac8c2 sane.ds: Remove large chunks of stubbed optional functionality; if it's optional, we don't have to support it, and it is not a stub. 2009-03-09 12:29:02 +01:00
Jeremy White e472c49a23 sane.ds: More correctly detect an end of scan job from sane; this enables Acrobat to pull multiple pages in one scan. 2009-03-06 12:49:04 +01:00
Jeremy White 2c0fea94e8 sane.ds: Implement grayscale and B&W scanning for native image transfers. 2009-03-03 12:36:12 +01:00
Jeremy White aaf83dc1b2 sane.ds: Implement NATIVEXFER/MSG_GET for RGB scans. 2009-02-16 15:34:50 +01:00
Jeremy White 4b794bee9a sane.ds: Get resolution from sane, instead of hard coding -1. 2009-02-16 12:31:11 +01:00
Ricardo Filipe 66b732e4f8 sane.ds: Check dead stored status (llvm/clang). 2008-11-21 11:28:28 +01:00
Alexandre Julliard 418e74b5d9 configure: Merge the libsane existence check with the soname check. 2007-07-02 19:42:13 +02:00
Jeremy White 16f33d8b43 sane.ds: Dynamically load libsane.so.
This change was triggered because of a bug in libsane-hpaio.so, namely
that it relies on libsane.so being dlopen'd RTLD_GLOBAL so that
sanei_init_debug can be resolved.
2007-03-14 22:45:08 +01:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Marcus Meissner 125efed86a twain_32: Split out the sane specific parts from twain_32 code.
Autoprobing via DG_CONTROL/DAT_IDENTITY/MSG_GET.
2006-05-08 22:07:05 +02:00