ImageGear for C and C++ on Windows v19.6 - Updated
IG_ISIS_drv_get_model_name
API Reference Guide > ISIS Component API Reference > ISIS Component Functions Reference > Driver Communication and Setup Functions > IG_ISIS_drv_get_model_name

Retrieve the current scanner model name.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ISIS_drv_get_model_name(
        LPSTR lpszModelName
);

Arguments:

Name Type Description
lpszModelName LPSTR A pointer to the buffer that will contain the current scanner model name after executing IG_ISIS_drv_get_model_name. The buffer must be at least IG_ISIS_DRVMAXMODELNAME characters long.

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_drv_get_model_name function retrieves the current scanner model name.

IG_ISIS_drv_get_model_name retrieves and fills in the currently selected scanner model by reading the "Model?=" entry from the section for the current driver in the SETSCAN.INI file.

See Also:

IG_ISIS_drv_get_scan_name