This function retrieves information about the specified scan device

[C++Builder]   BOOL IKScanGetDSInfo(HANDLE AppHandle, LPCSTR ScanDsName, PTR_IKSCAN_DATASOURCEINFO DS);
[Delphi]   function IKScanGetDSInfo(AppHandle: THandle; ScanDsName: PChar; var DS: IKSCAN_DATASOURCEINFO): LongBool;

Parameters

Name Explanation
AppHandle The application handle retrieved by IKScanInitialize
ScanDsName The datasource (scan device) name
DS A structure whose member variable contain the retrieved scan device information

Return Value

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

Explanation

If the ScanDSName is blank or NULL then the information on the datasource selected by the IKScanSelect function will be retrieved. TheDS is the structure (user defined type) whose members retrieve the scan device information. For details about IKSCAN_DATASOURCEINFO, please refer to the "Structure Definition and Explanation" section of Ik10Scan.dll, Ik10ScanA.dll, Ik10Scan64.dll, Ik10Scan64A.dll

[Differences from the ImageKit6]
Some of the member variables in IKSCAN_DATASOURCEINFO were changed from 4 byte type to 2 byte type.

 

The ImageKit10 VCL is a product created by Newtone Corporation