Skip to content

Commit

Permalink
Merge pull request #33 from dynarithmic/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
dynarithmic committed Aug 4, 2023
2 parents 2d031fe + 1e932b9 commit bc97ec5
Show file tree
Hide file tree
Showing 137 changed files with 7,379 additions and 1,812 deletions.
Binary file modified binaries/32bit/32bit_FullDemo.zip
Binary file not shown.
9 changes: 4 additions & 5 deletions binaries/32bit/32bit_FullDemo_hash.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
MD5: 0363874afae63f30801f28e588850610
SHA1: f0afd84945961ee5be542d8512fe581364fb3c21
SHA256: faeaa9bc9babd47ca2ef1c2ad57245ecfff1ed5acbb0b7631f933704bb875ec1
SHA512: 2843a94e3490bb4c1cfbfccd963618ca890c67b355144719cecda9c2634b58601171300192cab5d99228df0ddb3db96cc1932db198979d4461d5fff8be37eadd

MD5: e0bc988d63f4184ceda1f3a2033567b4
SHA1: 8e57f4bce06aca00ed5289d26f08884b375ffe19
SHA256: f37b2d0722184870e91a295ee5c715f89be333652bee009a0abdc1ab49f894a9
SHA512: 2993bde18689349aaad2c526707f6788e966cda1dbc4091cb3684387993595a71af181b8b15c9494ae29e1deeb4a0cadb6d2b1c39d360d5a60fbc5a231b181a6
Binary file modified binaries/32bit/release_libraries.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions binaries/32bit/release_ziphashes32.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MD5 hash of "release_libraries.zip" (16 bytes) = 744dfe3981366af69b7266b62ac10267
SHA1 hash of "release_libraries.zip" (20 bytes) = 0c6f5c720c413587f080d21c782eb795c848cc8e
SHA256 hash of "release_libraries.zip" (32 bytes) = 325cb013fb589013991020e9e0692b0c2805037e17337373724bd8586cca8541
MD5 hash of "release_libraries.zip" (16 bytes) = c044cbd201439d2777ffa28f6e8e1285
SHA1 hash of "release_libraries.zip" (20 bytes) = 157dde6690be0e4424c649a3ea0d431a97a7c77d
SHA256 hash of "release_libraries.zip" (32 bytes) = 61d6ff84f0d38eaa6531b98339cab879bc2906921819bc848c8832ee6ab5038c

Binary file modified binaries/32bit_debug/debug_libraries.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions binaries/32bit_debug/debug_ziphashes32.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MD5 hash of "debug_libraries.zip" (16 bytes) = 9ca0b886c4df742e933f0677231a0c68
SHA1 hash of "debug_libraries.zip" (20 bytes) = 65cce839f77108e7c3eee71a338236a1ac51d0f8
SHA256 hash of "debug_libraries.zip" (32 bytes) = 52b438932fd62285ad8b53d11e61ea2859be11420135862519ddec19e8b3fd10
MD5 hash of "debug_libraries.zip" (16 bytes) = 65f9af664cb67cd8089c8aea7ef4374c
SHA1 hash of "debug_libraries.zip" (20 bytes) = 5a1c6fe16726ee5d80c8394a75fdcecc27e30555
SHA256 hash of "debug_libraries.zip" (32 bytes) = 75a3015cfda01808f3bf64d2f926acd7b1a2aebb3d4403afdeefb7062f8afb15

Binary file modified binaries/64bit/64bit_FullDemo.zip
Binary file not shown.
8 changes: 4 additions & 4 deletions binaries/64bit/64bit_FullDemo_hash.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MD5: cb46ced845e774359c8487e913d8bb56
SHA1: 7716096ae6a2c47954ea184c1fe20f83c17cd03b
SHA256: c1eef06970add2146fad28f17a1cef0d74e5c1f2e917e54d2e2540f7dd65c840
SHA512: c9513e019fe34c6ee927fa9ca39aa514124624dc17c39b360fe026cfe306d6077f3f37e9eb71491c55dc80a5bb4a2b1554cd46355f758d9eb91d6c84a8b873c9
MD5: 8b19e9c921fd0ca184e5158b354f940c
SHA1: c6261e536eefd1e68eeecb6df742d6329f2341ce
SHA256: d282650ca439065a5f5dace83f8493e340c7de0abf96dd65924a9916bce670d3
SHA512: 05497cdc0a3186da73ac0fd9aaa656e9fef7840abd25175ed372cc7ee4d2ad5ea64ba92beedced0e975b2d72cf5c545a025b2140e4a9aa3cc4b95aa3efe4ce3c
Binary file modified binaries/64bit/release_libraries.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions binaries/64bit/release_ziphashes64.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MD5 hash of "release_libraries.zip" (16 bytes) = 9769b8279e6b2d688e9586496e22240d
SHA1 hash of "release_libraries.zip" (20 bytes) = a7533db465346296f65f9894f482c857443952c6
SHA256 hash of "release_libraries.zip" (32 bytes) = 6f52b6c3d89e5b644f6971a2970e7a844fcbde6aac8d6459a61c53687dc3ed5c
MD5 hash of "release_libraries.zip" (16 bytes) = 6b5df6928b461f47feb188eeb843e764
SHA1 hash of "release_libraries.zip" (20 bytes) = 1dba20189a666d2e616b20bf7a4af35e8175146b
SHA256 hash of "release_libraries.zip" (32 bytes) = e0441296b76015585dc46108e6a8d2bd8b4407dab9b4e02742ded97d2e84fc08

Binary file modified binaries/64bit_debug/debug_libraries.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions binaries/64bit_debug/debug_ziphashes64.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MD5 hash of "debug_libraries.zip" (16 bytes) = 4bb7dbf0d9d7e89bb9799b6795ab56f9
SHA1 hash of "debug_libraries.zip" (20 bytes) = cd7b913ad18be53a4396b7f4d9fcd90fd97753e1
SHA256 hash of "debug_libraries.zip" (32 bytes) = bde835b4881e49afc305fd5e56e31de325e597b096281e27dc4d0dc5088d9d47
MD5 hash of "debug_libraries.zip" (16 bytes) = 6f56cec380b7cc552c2b5311731428a9
SHA1 hash of "debug_libraries.zip" (20 bytes) = ee1207c3700cbfb477ed3b04e0a1f88c5d991293
SHA256 hash of "debug_libraries.zip" (32 bytes) = 48dfa7ee61ba9154acca8c3d64f4698d32559d4a536deee76853170e261f31eb

6 changes: 6 additions & 0 deletions demos/AllDemos.sln
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,14 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestImageFileCreation", "cp
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ShowCustomDSData", "cpp_wrapper\ShowCustomDSData\ShowCustomDSData.vcxproj", "{2646A722-F9B3-441C-8D31-5E08F3FF3CB2}"
ProjectSection(ProjectDependencies) = postProject
{39C0A01F-B0C7-427C-B658-E2442F54C19E} = {39C0A01F-B0C7-427C-B658-E2442F54C19E}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MultiPageTiffCompressionDemo", "cpp_wrapper\MultiPageTiffCompressionDemo\MultiPageTiffCompressionDemo.vcxproj", "{968D811B-8C72-4EDD-8A32-F43786F65C1C}"
ProjectSection(ProjectDependencies) = postProject
{39C0A01F-B0C7-427C-B658-E2442F54C19E} = {39C0A01F-B0C7-427C-B658-E2442F54C19E}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
133 changes: 86 additions & 47 deletions demos/Delphi/SimpleAcquire/dtwain32u.pas
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{* This file is part of the Dynarithmic TWAIN Library (DTWAIN). *}
{* Copyright (c) 2002-2021 Dynarithmic Software. *}
{* Copyright (c) 2002-2023 Dynarithmic Software. *}
{* *}
{* Licensed under the Apache License, Version 2.0 (the "License"); *}
{* you may not use this file except in compliance with the License. *}
Expand Down Expand Up @@ -179,9 +179,9 @@ TPoint = record
{ Function types }
DTwainCallback = function(wParam:Integer;lParam:Integer;userData:Integer) : Integer; stdcall;
DTwainDibUpdateCallback = function(Source:DTWAIN_SOURCE;pageNum:Integer;dibHandle:DTWAIN_HANDLE): Integer; stdcall;
DTwainCallback64 = function(wParam:Integer;lParam:Integer;userData:LongInt):Integer; stdcall;
DTwainCallback64 = function(wParam:Integer;lParam:Integer;userData:Int64):Integer; stdcall;
DTwainErrorProc = function( param1:Integer;param2:Integer):Integer;stdcall;
DTwainErrorProc64 = function( param1:Integer;param2:LongInt):Integer;stdcall;
DTwainErrorProc64 = function( param1:Integer;param2:Int64):Integer;stdcall;
DTwainLoggerProcA = function(lpszName:LPSTR;userData:LongInt):Integer;stdcall;
DTwainLoggerProcW = function(lpszName:LPWSTR;userData:LongInt):Integer;stdcall;
DTwainLoggerProc = function(lpszName:LPTSTR;userData:LongInt):Integer;stdcall;
Expand Down Expand Up @@ -320,19 +320,22 @@ TPoint = record
DTWAIN_TIFFMULTI = 7000;
DTWAIN_ICO = 8000;
DTWAIN_ICO_VISTA = 8001;
DTWAIN_ICO_RESIZED = 8002;
DTWAIN_WBMP = 8500;
DTWAIN_WBMP_RESIZED = 11000;
DTWAIN_INCHES = 0;
DTWAIN_CENTIMETERS = 1;
DTWAIN_PICAS = 2;
DTWAIN_POINTS = 3;
DTWAIN_TWIPS = 4;
DTWAIN_PIXELS = 5;
DTWAIN_MILLIMETERS = 6;
DTWAIN_USENAME = 4;
DTWAIN_USEPROMPT = 8;
DTWAIN_USELONGNAME = 16;
DTWAIN_USESOURCEMODE = 32;
DTWAIN_USELIST = 64;
DTWAIN_USENAME = 16;
DTWAIN_USEPROMPT = 32;
DTWAIN_USELONGNAME = 64;
DTWAIN_USESOURCEMODE = 128;
DTWAIN_USELIST = 256;
DTWAIN_CREATEDIRECTORY = 512;
DTWAIN_ARRAYANY = 1;
DTWAIN_ArrayTypePTR = 1;
DTWAIN_ARRAYLONG = 2;
Expand Down Expand Up @@ -505,6 +508,11 @@ TPoint = record
DTWAIN_TN_SETCALLBACK64INIT = 1151;
DTWAIN_TN_FILENAMECHANGING = 1160;
DTWAIN_TN_FILENAMECHANGED = 1161;
DTWAIN_TN_PROCESSEDAUDIOFINAL = 1180;
DTWAIN_TN_PROCESSAUDIOFINALACCEPTED = 1181;
DTWAIN_TN_PROCESSEDAUDIOFILE = 1182;
DTWAIN_TN_TWAINTRIPLETBEGIN = 1183;
DTWAIN_TN_TWAINTRIPLETEND = 1184;
DTWAIN_PDFOCR_CLEANTEXT1 = 1;
DTWAIN_PDFOCR_CLEANTEXT2 = 2;
DTWAIN_MODAL = 0;
Expand Down Expand Up @@ -536,7 +544,7 @@ TPoint = record
DTWAIN_CNTYAFGHANISTAN = 1001;
DTWAIN_CNTYALGERIA = 213;
DTWAIN_CNTYAMERICANSAMOA = 684;
DTWAIN_CNTYANDORRA = 033;
DTWAIN_CNTYANDORRA = 33;
DTWAIN_CNTYANGOLA = 1002;
DTWAIN_CNTYANGUILLA = 8090;
DTWAIN_CNTYANTIGUA = 8091;
Expand Down Expand Up @@ -579,7 +587,7 @@ TPoint = record
DTWAIN_CNTYCONGO = 1011;
DTWAIN_CNTYCOOKIS = 1012;
DTWAIN_CNTYCOSTARICA = 506;
DTWAIN_CNTYCUBA = 005;
DTWAIN_CNTYCUBA = 5;
DTWAIN_CNTYCYPRUS = 357;
DTWAIN_CNTYCZECHOSLOVAKIA = 42;
DTWAIN_CNTYDENMARK = 45;
Expand Down Expand Up @@ -808,7 +816,14 @@ TPoint = record
DTWAIN_ERR_BAD_CAPTYPE = (-1047);
DTWAIN_ERR_UNKNOWN_CAPDATATYPE = (-1048);
DTWAIN_ERR_DEMO_NOFILETYPE = (-1049);
DTWAIN_ERR_LAST_1 = DTWAIN_ERR_DEMO_NOFILETYPE;
DTWAIN_ERR_SOURCESELECTION_CANCELED = (-1050);
DTWAIN_ERR_RESOURCES_NOT_FOUND = (-1051);
DTWAIN_ERR_STRINGTYPE_MISMATCH = (-1052);
DTWAIN_ERR_ARRAYTYPE_MISMATCH = (-1053);
DTWAIN_ERR_SOURCENAME_NOTINSTALLED = (-1054);
DTWAIN_ERR_NO_MEMFILE_XFER = (-1055);
DTWAIN_ERR_AREA_ARRAY_TOO_SMALL = (-1056);
DTWAIN_ERR_LAST_1 = DTWAIN_ERR_AREA_ARRAY_TOO_SMALL;
TWAIN_ERR_LOW_MEMORY = (-1100);
TWAIN_ERR_FALSE_ALARM = (-1101);
TWAIN_ERR_BUMMER = (-1102);
Expand Down Expand Up @@ -1066,24 +1081,34 @@ TPoint = record
DTWAIN_EI_MAGDATALENGTH = $1248;
DTWAIN_EI_PAPERCOUNT = $1249;
DTWAIN_EI_PRINTERTEXT = $124A;
DTWAIN_LOG_DECODE_SOURCE = 1;
DTWAIN_LOG_DECODE_DEST = 2;
DTWAIN_LOG_DECODE_TWMEMREF = 4;
DTWAIN_LOG_DECODE_TWEVENT = 8;
DTWAIN_LOG_USEFILE = 16;
DTWAIN_LOG_CALLSTACK = 32;
DTWAIN_LOG_USEWINDOW = 64;
DTWAIN_LOG_SHOWEXCEPTIONS = 128;
DTWAIN_LOG_ERRORMSGBOX = 256;
DTWAIN_LOG_INITFAILURE = 512;
DTWAIN_LOG_USEBUFFER = 1024;
DTWAIN_LOG_FILEAPPEND = 2048;
DTWAIN_LOG_DECODE_BITMAP = 4096;
DTWAIN_LOG_NOCALLBACK = 8192;
DTWAIN_LOG_WRITE = 16384;
DTWAIN_LOG_USECRLF = 32768;
DTWAIN_LOG_ALL = $FFFFF7FF;
DTWAIN_LOG_ALL_APPEND = $FFFFFFFF;

DTWAIN_LOG_DECODE_SOURCE = $1 ;
DTWAIN_LOG_DECODE_DEST = $2 ;
DTWAIN_LOG_DECODE_TWMEMREF = $4 ;
DTWAIN_LOG_DECODE_TWEVENT = $8 ;
DTWAIN_LOG_CALLSTACK = $10 ;
DTWAIN_LOG_ISTWAINMSG = $20 ;
DTWAIN_LOG_INITFAILURE = $40 ;
DTWAIN_LOG_LOWLEVELTWAIN = $80 ;
DTWAIN_LOG_DECODE_BITMAP = $100 ;
DTWAIN_LOG_NOTIFICATIONS = $200 ;
DTWAIN_LOG_MISCELLANEOUS = $400 ;
DTWAIN_LOG_DTWAINERRORS = $800 ;
DTWAIN_LOG_USEFILE = $10000 ;
DTWAIN_LOG_SHOWEXCEPTIONS = $20000 ;
DTWAIN_LOG_ERRORMSGBOX = $40000 ;
DTWAIN_LOG_USEBUFFER = $80000 ;
DTWAIN_LOG_FILEAPPEND = $100000 ;
DTWAIN_LOG_USECALLBACK = $200000 ;
DTWAIN_LOG_USECRLF = $400000 ;
DTWAIN_LOG_CONSOLE = $800000 ;
DTWAIN_LOG_DEBUGMONITOR = $1000000 ;
DTWAIN_LOG_USEWINDOW = $2000000 ;
DTWAIN_LOG_ALL = (DTWAIN_LOG_DECODE_SOURCE Or DTWAIN_LOG_DECODE_DEST Or DTWAIN_LOG_DECODE_TWEVENT
Or DTWAIN_LOG_DECODE_TWMEMREF Or DTWAIN_LOG_CALLSTACK Or DTWAIN_LOG_ISTWAINMSG Or DTWAIN_LOG_INITFAILURE
Or DTWAIN_LOG_LOWLEVELTWAIN Or DTWAIN_LOG_NOTIFICATIONS Or DTWAIN_LOG_MISCELLANEOUS Or DTWAIN_LOG_DTWAINERRORS
Or DTWAIN_LOG_DECODE_BITMAP);

DTWAINGCD_RETURNHANDLE = 1;
DTWAINGCD_COPYDATA = 2;
DTWAIN_BYPOSITION = 0;
Expand Down Expand Up @@ -1126,12 +1151,22 @@ TPoint = record
DTWAIN_LS_WHITE = 4;
DTWAIN_LS_UV = 5;
DTWAIN_LS_IR = 6;

DTWAIN_DLG_SORTNAMES = 1;
DTWAIN_DLG_CENTER = 2;
DTWAIN_DLG_CENTER_SCREEN = 4;
DTWAIN_DLG_USETEMPLATE = 8;
DTWAIN_DLG_CLEAR_PARAMS = 16;
DTWAIN_DLG_HORIZONTALSCROLL = 32;
DTWAIN_DLG_USEINCLUDENAMES = 64;
DTWAIN_DLG_USEEXCLUDENAMES = 128;
DTWAIN_DLG_USENAMEMAPPING = 256;
DTWAIN_DLG_TOPMOSTWINDOW = 1024;
DTWAIN_DLG_OPENONSELECT = 2048;
DTWAIN_DLG_OPENONSELECTOVERRIDE = 4096;
DTWAIN_DLG_OPENONSELECTON = (DTWAIN_DLG_OPENONSELECT Or DTWAIN_DLG_OPENONSELECTOVERRIDE);
DTWAIN_DLG_OPENONSELECTOFF = DTWAIN_DLG_OPENONSELECTOVERRIDE;

DTWAIN_RES_ENGLISH = 0;
DTWAIN_RES_FRENCH = 1;
DTWAIN_RES_SPANISH = 2;
Expand Down Expand Up @@ -2520,27 +2555,31 @@ function DTWAIN_SysInitializeEx2(szINIPath:LPCTSTR; szImageDLLPath:LPCTSTR; szLa
function DTWAIN_SysInitializeLibEx(hInstance:NativeInt; szINIPath:LPCTSTR):DTWAIN_HANDLE;stdcall; external 'dtwain32u.dll' name 'DTWAIN_SysInitializeLibEx';
function DTWAIN_SysInitializeLibEx2(hInstance:NativeInt; szINIPath:LPCTSTR; szImageDLLPath:LPCTSTR; szLangResourcePath:LPCTSTR):DTWAIN_HANDLE;stdcall; external 'dtwain32u.dll' name 'DTWAIN_SysInitializeLibEx2';
function DTWAIN_CallDSMProc(AppID:DTWAIN_IDENTITY; SourceId:DTWAIN_IDENTITY; lDG:LONG; lDAT:LONG; lMSG:LONG; pData:LPVOID):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_CallDSMProc';
function DTWAIN_GetDSMFullNameA(DSMType:LONG; sz:DTWAIN_HANDLE; nMaxLen:LONG; WhichSearch:DTWAIN_HANDLE):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetDSMFullNameA';
function DTWAIN_GetLibraryPathA(sz:DTWAIN_HANDLE; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetLibraryPathA';
function DTWAIN_GetShortVersionStringA(sz:DTWAIN_HANDLE; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetShortVersionStringA';
function DTWAIN_GetTempFileDirectoryA(sz:DTWAIN_HANDLE; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetTempFileDirectoryA';
function DTWAIN_GetVersionInfoA(sz:DTWAIN_HANDLE; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetVersionInfoA';
function DTWAIN_GetVersionStringA(sz:DTWAIN_HANDLE; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetVersionStringA';
function DTWAIN_GetDSMFullNameA(DSMType:LONG; sz:LPSTR; nMaxLen:LONG; WhichSearch:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetDSMFullNameA';
function DTWAIN_StartTwainSessionA(hWndMsg:DTWAIN_HANDLE; sz:DTWAIN_HANDLE):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_StartTwainSessionA';
function DTWAIN_GetDSMFullNameW(DSMType:LONG; sz:DTWAIN_HANDLE; nMaxLen:LONG; WhichSearch:DTWAIN_HANDLE):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetDSMFullNameW';
function DTWAIN_GetLibraryPathW(sz:DTWAIN_HANDLE; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetLibraryPathW';
function DTWAIN_GetShortVersionStringW(sz:DTWAIN_HANDLE; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetShortVersionStringW';
function DTWAIN_GetTempFileDirectoryW(sz:DTWAIN_HANDLE; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetTempFileDirectoryW';
function DTWAIN_GetVersionInfoW(sz:DTWAIN_HANDLE; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetVersionInfoW';
function DTWAIN_GetVersionStringW(sz:DTWAIN_HANDLE; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetVersionStringW';
function DTWAIN_GetDSMFullNameW(DSMType:LONG; sz:LPWSTR; nMaxLen:LONG; WhichSearch:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetDSMFullNameW';
function DTWAIN_StartTwainSessionW(hWndMsg:DTWAIN_HANDLE; sz:DTWAIN_HANDLE):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_StartTwainSessionW';
function DTWAIN_GetDSMFullName(DSMType:LONG; sz:DTWAIN_HANDLE; nMaxLen:LONG; WhichSearch:DTWAIN_HANDLE):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetDSMFullName';
function DTWAIN_GetLibraryPath(sz:DTWAIN_HANDLE; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetLibraryPath';
function DTWAIN_GetShortVersionString(sz:DTWAIN_HANDLE; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetShortVersionString';
function DTWAIN_GetTempFileDirectory(sz:DTWAIN_HANDLE; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetTempFileDirectory';
function DTWAIN_GetVersionInfo(sz:DTWAIN_HANDLE; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetVersionInfo';
function DTWAIN_GetVersionString(sz:DTWAIN_HANDLE; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetVersionString';
function DTWAIN_GetDSMFullName(DSMType:LONG; sz:LPTSTR; nMaxLen:LONG; WhichSearch:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetDSMFullName';
function DTWAIN_GetLibraryPath(sz:LPWSTR; nLength:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetLibraryPath';
function DTWAIN_StartTwainSession(hWndMsg:DTWAIN_HANDLE; sz:DTWAIN_HANDLE):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_StartTwainSession';
function DTWAIN_CallDSMProc(source:pTW_IDENTITY; app:pTW_IDENTITY; lDG:LONG; lDAT:LONG; lMSG:LONG; pData:DTWAIN_HANDLE):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_CallDSMProc';
function DTWAIN_GetSourceDetailsA(szSources:LPCSTR; szBuf:LPSTR; nSize:LONG; indentFactor:LONG; bReset:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetSourceDetailsA';
function DTWAIN_GetSourceDetailsW(szSources:LPCWSTR; szBuf:LPWSTR; nSize:LONG; indentFactor:LONG; bReset:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetSourceDetailsW';
function DTWAIN_GetSourceDetails(szSources:LPCTSTR; szBuf:LPTSTR; nSize:LONG; indentFactor:LONG; bReset:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetSourceDetails';
function DTWAIN_GetSessionDetailsA(szBuf:LPSTR; nSize:LONG; indentFactor:LONG; bReset:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetSessionDetailsA';
function DTWAIN_GetSessionDetailsW(szBuf:LPWSTR; nSize:LONG; indentFactor:LONG; bReset:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetSessionDetailsW';
function DTWAIN_GetSessionDetails(szBuf:LPTSTR; nSize:LONG; indentFactor:LONG; bReset:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetSessionDetails';
function DTWAIN_GetVersionCopyrightA(szBuf:LPSTR; nSize:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetVersionCopyrightA';
function DTWAIN_GetVersionCopyrightW(szBuf:LPWSTR; nSize:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetVersionCopyrightW';
function DTWAIN_GetVersionCopyright(szBuf:LPTSTR; nSize:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_GetVersionCopyright';
function DTWAIN_IsSourceValid(source:DTWAIN_SOURCE):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_IsSourceValid';
function DTWAIN_EnableTripletNotify(bEnable:LONG):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_EnableTripletNotify';
function DTWAIN_IsNotifyTripletEnabled():LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_IsNotifyTripletEnabled';
function DTWAIN_DeleteDIB(DIB:DTWAIN_HANDLE):LONG;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_DeleteDIB';
function DTWAIN_SelectSourceWithOpen(bOpen:LONG):DTWAIN_SOURCE;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_SelectSourceWithOpen';
function DTWAIN_SelectDefaultSourceWithOpen(bOpen:LONG):DTWAIN_SOURCE;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_SelectDefaultSourceWithOpen';
function DTWAIN_SelectSourceByNameWithOpen(szName:LPCTSTR; bOpen:LONG):DTWAIN_SOURCE;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_SelectSourceByNameWithOpen';
function DTWAIN_SelectSourceByNameWithOpenA(szName:LPCSTR; bOpen:LONG):DTWAIN_SOURCE;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_SelectSourceByNameWithOpenA';
function DTWAIN_SelectSourceByNameWithOpenW(szName:LPCWSTR; bOpen:LONG):DTWAIN_SOURCE;overload;stdcall; external 'dtwain32u.dll' name 'DTWAIN_SelectSourceByNameWithOpenW';
implementation
end.
Loading

0 comments on commit bc97ec5

Please sign in to comment.