ImageGear Professional v18.2 > API Reference Guide > ISIS Component API Reference > ISIS Component Functions Reference > Custom Scanner Functions > IG_ISIS_selection_choose_driver |
Write the selected scanner/driver combination to the scanner setup file.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_ISIS_selection_choose_driver( LPHISISSEL lphSelection, LPAT_ISIS_DRIVERINFO lpDriverInfo ); |
Name | Type | Description |
lphSelection | LPHISISSEL | The ISISSELECTION structure as initialized by IG_ISIS_selection_init. |
lpDriverInfo | LPAT_ISIS_DRIVERINFO | Points to a scanner information record obtained by calling IG_ISIS_selection_get_driver_info. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
This function does not process image pixels.
The IG_ISIS_selection_choose_driver function writes the scanner model name and driver name obtained from the specified scanner information record to setscan.ini.
Use the IG_ISIS_selection_choose_driver function to fill in the "Driver =" and "Model = " entries in setscan.ini. Then call IG_ISIS_selection_configure to perform any necessary setup on the selected scanner.
IG_ISIS_selection_get_driver_info