This function ends the TWAIN process
[C++Builder] BOOL
IKScanTerminate(HANDLE AppHandle);
[Delphi] function
IKScanTerminate(AppHandle: THandle): LongBool;
Parameters
Name | Explanation |
---|---|
AppHandle | The application handle retrieved by IKScanInitialize |
Return Value
Returns True (nonzero) when successful, returns False (0) when not successful.
Explanation
The IKScanTerminate function ends the TWAIN process. This function must be used in conjunction with the IKScanInitialize function. If an invalid value is set into the AppHandle parameter and error will occur.