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 999d05f695 sane.ds: Convert the SANE option descriptor to a private structure.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 12:50:00 +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 474899dbcd sane.ds: Remove unused variables. 2010-07-21 13:23:58 +02:00
Francois Gouget b6b4a8f207 sane.ds: Remove an unused debug channel. 2009-05-06 12:20:10 +02:00
Francois Gouget 5ef481922f Assorted spelling fixes. 2009-04-20 15:25:26 +02:00
Jeremy White 782ea74acc sane.ds: Move a few static functions so they can be shared. 2009-03-11 10:33:40 +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
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
Jeremy White 00f9ef0f4f sane.ds: Fully support ICAP_PIXELTYPE. 2009-02-26 12:12:19 +01:00
Jeremy White 6ace799f5a sane.ds: Implement support for ICAP_XRESOLUTION and ICAP_YRESOLUTION. 2009-02-24 16:57:29 +01:00
Jeremy White 4b794bee9a sane.ds: Get resolution from sane, instead of hard coding -1. 2009-02-16 12:31:11 +01:00