ImageGear for C and C++ on Windows v19.6 - Updated
IG_TWAIN_driver_info_get
API Reference Guide > TWAIN Component API Reference > TWAIN Component Functions Reference > General Functions > IG_TWAIN_driver_info_get

This function returns the major and minor release version numbers of the TWAIN-compliant image acquisition device.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_TWAIN_driver_info_get(
        LPINT lpVerMajor,
        LPINT lpVerMinor
);

Arguments:

Name Type Description
lpVerMajor LPINT Major release version number of the TWAIN-compliant device.
lpVerMinor LPINT Minor release version number of the TWAIN-compliant device.

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:

ImageGear currently supports version 1.9 and below. Depending on the results of your query, you may want to display a warning that unexpected results may occur if the version of the TWAIN-compliant device is not one of these versions.

If no TWAIN DLL is currently installed, you will receive an error.