This function starts the TWAIN process

[C++Builder]   HANDLE IKScanInitialize(HWND hWnd, WORD MajorNum, WORD MinorNum, LPCSTR VersionInfo, LPCSTR Manufacturer, LPCSTR ProductFamily, LPCSTR ProductName);
[Delphi]   function IKScanInitialize(hWnd: HWND; MajorNum, MinorNum: Word; VersionInfo, Manufacturer, ProductFamily, ProductName: PAnsiChar): THandle;

Parameters

Name Explanation
hWnd The form window handle
MajorNum The major version number of the application (If the version is 1.00, then this value will be 1)
MinorNum The minor version number of the application (If the version is 1.00, then this value will be 0)
VersionInfo The application version information (up to 32 bytes)
Manufacturer The name of the manufacturer of the application (up to 32 bytes)
ProductFamily The application's product family name (up to 32 bytes)
ProductName The application's product name (up to 32 bytes)

Return Value

Returns the application handle if successful. Returns 0 if unsuccessful

Explanation

The IKScanInitialize function starts the TWAIN process. When using TWAIN functions, the IKScanInitialize function must be executed. MajorNum, MinorNum, VersionInfo, Manufacturer, ProductFamily, and ProductName parameters are used the notify TWAIN of various information about the application.

The return value (the application handle) of the IKScanInitialize function is used by other scan functions.

 

The ImageKit10 VCL is a product created by Newtone Corporation