59 lines
3.0 KiB
C++
59 lines
3.0 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'imscan.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef imscanHPP
|
|
#define imscanHPP
|
|
|
|
#pragma delphiheader begin
|
|
#pragma option push
|
|
#if defined(__BORLANDC__) && !defined(__clang__)
|
|
#pragma option -w- // All warnings off
|
|
#pragma option -Vx // Zero-length empty class member
|
|
#endif
|
|
#pragma pack(push,8)
|
|
#include <System.hpp>
|
|
#include <SysInit.hpp>
|
|
#include <Winapi.Windows.hpp>
|
|
#include <Winapi.Messages.hpp>
|
|
#include <System.SysUtils.hpp>
|
|
#include <System.Classes.hpp>
|
|
#include <Vcl.Graphics.hpp>
|
|
#include <Vcl.Controls.hpp>
|
|
#include <imageenio.hpp>
|
|
#include <ietwain.hpp>
|
|
#include <hyiedefs.hpp>
|
|
#include <iexBitmaps.hpp>
|
|
#include <Vcl.Dialogs.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Imscan
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
//-- type declarations -------------------------------------------------------
|
|
typedef void __fastcall (__closure *TIETWCloseCallBack)(void);
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
extern DELPHI_PACKAGE bool __fastcall IETW_SelectImageSource(System::AnsiString &SelectedSourceName, Ietwain::PIETwainShared TwainShared, HWND callwnd);
|
|
extern DELPHI_PACKAGE bool __fastcall IETW_GetSourceList(System::Classes::TList* SList, Ietwain::PIETwainShared TwainShared, HWND callwnd);
|
|
extern DELPHI_PACKAGE bool __fastcall IETW_Acquire(Iexbitmaps::TIEBitmap* Bitmap, bool multi, Iexbitmaps::TIEMultiCallBack MultiCallBack, Ietwain::TIETwainParams* Params, Iexbitmaps::TIOParams* IOParams, Hyiedefs::TProgressRec &Progress, Ietwain::PIETwainShared TwainShared, HWND callwnd, bool DoNativePixelFormat);
|
|
extern DELPHI_PACKAGE bool __fastcall IETW_IsCapabilitySupported(Ietwain::TIETwainParams* Params, Ietwain::PIETwainShared TwainShared, HWND callwnd, System::Word cap);
|
|
extern DELPHI_PACKAGE bool __fastcall IETW_GetCapabilities(Ietwain::TIETwainParams* Params, Ietwain::TIETWSourceCaps &Capabilities, bool setcap, Ietwain::PIETwainShared TwainShared, HWND callwnd);
|
|
extern DELPHI_PACKAGE System::AnsiString __fastcall IETW_GetDefaultSource(Ietwain::PIETwainShared TwainShared, HWND callwnd);
|
|
extern DELPHI_PACKAGE void __fastcall IETW_FreeResources(Ietwain::PIETwainShared TwainShared, HWND callwnd);
|
|
extern DELPHI_PACKAGE void * __fastcall IETWAINAcquireOpen(TIETWCloseCallBack CloseCallBack, Iexbitmaps::TIEMultiCallBack MultiCallBack, Ietwain::TIETwainParams* Params, Ietwain::PIETwainShared TwainShared, Iexbitmaps::TIOParams* IOParams, Vcl::Controls::TWinControl* parent, bool DoNativePixelFormat);
|
|
extern DELPHI_PACKAGE void __fastcall IETWAINAcquireClose(void * &grec);
|
|
} /* namespace Imscan */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_IMSCAN)
|
|
using namespace Imscan;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // imscanHPP
|