This function retrieves information about the specified scan device
[C++Builder/Visual
C++] BOOL IKScanGetDSInfo(HANDLE
AppHandle, LPCSTR ScanDsName, PTR_IKSCAN_DATASOURCEINFO DS);
[Delphi] function
IKScanGetDSInfo(AppHandle: THandle; ScanDsName: PChar; var DS:
IKSCAN_DATASOURCEINFO): LongBool;
[Visual Basic] Function
IKScanGetDSInfo(ByVal AppHandle As Long, ByVal ScanDsName As
String, DS As KSCAN_DATASOURCEINFO) As Long
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 Ik8Scan.dll, Ik8ScanA.dll, Ik8Scan64.dll, Ik8Scan64A.dll
[Differences from the ImageKit6]
Some of the member variables in IKSCAN_DATASOURCEINFO were changed
from 4 byte type to 2 byte type.