2006-05-08 20:05:42 +02:00
|
|
|
/*
|
|
|
|
* Copyright 2000 Corel Corporation
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2006-05-18 14:49:52 +02:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2006-05-08 20:05:42 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _TWAIN32_H
|
|
|
|
#define _TWAIN32_H
|
|
|
|
|
2011-09-05 17:22:50 +02:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
|
|
|
#include "winuser.h"
|
|
|
|
#include "twain.h"
|
2021-10-27 15:27:52 +02:00
|
|
|
#include "unixlib.h"
|
2007-03-14 19:10:03 +01:00
|
|
|
|
2011-04-26 19:11:44 +02:00
|
|
|
extern HINSTANCE SANE_instance DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
|
2009-02-23 23:25:26 +01:00
|
|
|
#define TWCC_CHECKSTATUS (TWCC_CUSTOMBASE + 1)
|
|
|
|
|
2006-05-08 20:05:42 +02:00
|
|
|
/* internal information about an active data source */
|
|
|
|
struct tagActiveDS
|
|
|
|
{
|
2017-11-14 22:14:11 +01:00
|
|
|
TW_IDENTITY identity; /* identity of the DS */
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 currentState; /* current state */
|
|
|
|
TW_UINT16 twCC; /* condition code */
|
2017-11-14 22:14:11 +01:00
|
|
|
TW_IDENTITY appIdentity; /* identity of the app */
|
2006-05-08 20:05:42 +02:00
|
|
|
HWND hwndOwner; /* window handle of the app */
|
|
|
|
HWND progressWnd; /* window handle of the scanning window */
|
2021-10-25 11:07:10 +02:00
|
|
|
|
2021-10-27 13:25:00 +02:00
|
|
|
struct frame_parameters frame_params; /* parameters about the image transferred */
|
2021-10-25 11:07:10 +02:00
|
|
|
|
2008-04-11 04:17:14 +02:00
|
|
|
/* Capabilities */
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 capXferMech; /* ICAP_XFERMECH */
|
2009-02-26 03:58:42 +01:00
|
|
|
BOOL PixelTypeSet;
|
|
|
|
TW_UINT16 defaultPixelType; /* ICAP_PIXELTYPE */
|
2009-02-23 23:25:26 +01:00
|
|
|
BOOL XResolutionSet;
|
|
|
|
TW_FIX32 defaultXResolution;
|
|
|
|
BOOL YResolutionSet;
|
|
|
|
TW_FIX32 defaultYResolution;
|
2020-01-24 00:05:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
extern struct tagActiveDS activeDS DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
|
|
|
|
/* Helper functions */
|
2011-04-26 19:11:44 +02:00
|
|
|
extern TW_UINT16 SANE_SaneCapability (pTW_CAPABILITY pCapability, TW_UINT16 action) DECLSPEC_HIDDEN;
|
|
|
|
extern TW_UINT16 SANE_SaneSetDefaults (void) DECLSPEC_HIDDEN;
|
2017-11-14 22:14:11 +01:00
|
|
|
extern void SANE_Notify (TW_UINT16 message) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
|
|
|
|
/* Implementation of operation triplets
|
|
|
|
* From Application to Source (Control Information) */
|
2011-04-26 19:11:44 +02:00
|
|
|
TW_UINT16 SANE_CapabilityGet (pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_CapabilityGetCurrent
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_CapabilityGetDefault
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_CapabilityQuerySupport
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_CapabilityReset
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_CapabilitySet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_CustomDSDataGet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_CustomDSDataSet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_AutomaticCaptureDirectory
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_ChangeDirectory
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_FileSystemCopy
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_CreateDirectory
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_FileSystemDelete
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_FormatMedia
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_FileSystemGetClose
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_FileSystemGetFirstFile
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_FileSystemGetInfo
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_FileSystemGetNextFile
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_FileSystemRename
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_ProcessEvent
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_PassThrough
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_PendingXfersEndXfer
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_PendingXfersGet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_PendingXfersReset
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_PendingXfersStopFeeder
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_SetupFileXferGet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_SetupFileXferGetDefault
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_SetupFileXferReset
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_SetupFileXferSet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_SetupFileXfer2Get
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_SetupFileXfer2GetDefault
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_SetupFileXfer2Reset
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_SetupFileXfer2Set
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_SetupMemXferGet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_GetDSStatus
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_DisableDSUserInterface
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_EnableDSUserInterface
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_EnableDSUIOnly
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_XferGroupGet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_XferGroupSet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
|
|
|
|
/* Implementation of operation triplets
|
|
|
|
* From Application to Source (Image Information) */
|
|
|
|
TW_UINT16 SANE_CIEColorGet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_ExtImageInfoGet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_GrayResponseReset
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_GrayResponseSet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_ImageFileXferGet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_ImageInfoGet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_ImageLayoutGet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_ImageLayoutGetDefault
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_ImageLayoutReset
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_ImageLayoutSet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_ImageMemXferGet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_ImageNativeXferGet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_JPEGCompressionGet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_JPEGCompressionGetDefault
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_JPEGCompressionReset
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_JPEGCompressionSet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_Palette8Get
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_Palette8GetDefault
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_Palette8Reset
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_Palette8Set
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_RGBResponseReset
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
TW_UINT16 SANE_RGBResponseSet
|
2011-04-26 19:11:44 +02:00
|
|
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
|
|
|
|
/* UI function */
|
2011-04-26 19:11:44 +02:00
|
|
|
BOOL DoScannerUI(void) DECLSPEC_HIDDEN;
|
|
|
|
HWND ScanningDialogBox(HWND dialog, LONG progress) DECLSPEC_HIDDEN;
|
2006-05-08 20:05:42 +02:00
|
|
|
|
2009-02-13 20:14:30 +01:00
|
|
|
/* Option functions */
|
2021-10-25 17:32:04 +02:00
|
|
|
TW_UINT16 sane_option_get_value( int optno, void *val ) DECLSPEC_HIDDEN;
|
|
|
|
TW_UINT16 sane_option_set_value( int optno, void *val, BOOL *reload ) DECLSPEC_HIDDEN;
|
|
|
|
TW_UINT16 sane_option_get_int( const char *option_name, int *val ) DECLSPEC_HIDDEN;
|
|
|
|
TW_UINT16 sane_option_set_int( const char *option_name, int val, BOOL *reload ) DECLSPEC_HIDDEN;
|
|
|
|
TW_UINT16 sane_option_get_str( const char *option_name, char *val, int len ) DECLSPEC_HIDDEN;
|
|
|
|
TW_UINT16 sane_option_set_str( const char *option_name, char *val, BOOL *reload ) DECLSPEC_HIDDEN;
|
|
|
|
TW_UINT16 sane_option_probe_resolution( const char *option_name, int *minval, int *maxval, int *quant) DECLSPEC_HIDDEN;
|
2021-10-27 13:38:59 +02:00
|
|
|
TW_UINT16 sane_option_probe_mode(TW_UINT16 *current, TW_UINT32 *choices, int *count) DECLSPEC_HIDDEN;
|
2021-10-25 17:32:04 +02:00
|
|
|
TW_UINT16 sane_option_get_bool( const char *option_name, BOOL *val ) DECLSPEC_HIDDEN;
|
|
|
|
TW_UINT16 sane_option_set_bool( const char *option_name, BOOL val ) DECLSPEC_HIDDEN;
|
2021-10-25 18:34:53 +02:00
|
|
|
TW_UINT16 sane_option_get_scan_area( int *tlx, int *tly, int *brx, int *bry ) DECLSPEC_HIDDEN;
|
|
|
|
TW_UINT16 sane_option_get_max_scan_area( int *tlx, int *tly, int *brx, int *bry ) DECLSPEC_HIDDEN;
|
|
|
|
TW_UINT16 sane_option_set_scan_area( int tlx, int tly, int brx, int bry, BOOL *reload ) DECLSPEC_HIDDEN;
|
|
|
|
TW_FIX32 convert_sane_res_to_twain( int res ) DECLSPEC_HIDDEN;
|
2021-10-27 13:25:00 +02:00
|
|
|
TW_UINT16 get_sane_params( struct frame_parameters *params ) DECLSPEC_HIDDEN;
|
2009-02-13 20:14:30 +01:00
|
|
|
|
2006-05-08 20:05:42 +02:00
|
|
|
#endif
|