ImageGear for C and C++ on Windows v19.6 - Updated
IG_ISIS_selection_choose_driver
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.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ISIS_selection_choose_driver(
        LPHISISSEL lphSelection,
        LPAT_ISIS_DRIVERINFO lpDriverInfo
);

Arguments:

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.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

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.

See Also

IG_ISIS_selection_get_driver_info

IG_ISIS_selection_configure