This function closes the scan device

[C++Builder]   BOOL IKScanCloseDS(HANDLE AppHandle, HANDLE SrcHandle);
[Delphi]   function IKScanCloseDS(AppHandle, SrcHandle: THandle): LongBool;

Parameters

Name Explanation
AppHandle The application handle retrieved by IKScanInitialize
SrcHandle The scan device handle retrieved by IKScanOpenDS

Return Value

Returns True (nonzero) when successful, returns False (0) when not successful.

Explanation

The IKScanCloseDS function closes the datasource that was opened by the IKScanOpenDS function and frees the datasource handle. If an invalid value is set in the SrcHandle then an error will be generated.

 

The ImageKit10 VCL is a product created by Newtone Corporation