IG_ISIS_selection_get_driver_info
Look up information about a driver in the ISISSELECTION based on the scanner ID.
Declaration:
|
Copy Code
|
AT_ERRCOUNT ACCUAPI IG_ISIS_selection_get_driver_info(
LPHISISSEL lphSelection,
INT nId,
LPAT_ISIS_DRIVERINFO lpDriverInfo
);
|
Arguments:
Name |
Type |
Description |
lphSelection |
LPHISISSEL |
Points to the ISISSELECTION structure as initialized by IG_ISIS_selection_init. |
nId |
INT |
Specifies the ID for the scanner. |
lpDriverInfo |
LPAT_ISIS_DRIVERINFO |
Points to the driver information record associated with nId. |
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_get_driver_info function retrieves the AT_ISIS_DRIVERINFO structure from the ISISSELECTION using a scanner entry's ID.
If your application keeps track of the association between the name of each scanner and its ID as they are returned from your calls to IG_ISIS_selection_iterate_init and IG_ISIS_selection_iterate_next, then you can use IG_ISIS_selection_get_driver_info to look up the driver record for a particular scanner after the user selects a scanner from the selection dialog.
See Also
IG_ISIS_selection_iterate_init
IG_ISIS_selection_iterate_next