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

Retrieve the version number of a driver.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ISIS_drv_get_version(
        HISISDRV hDriver,
        LPSTR lpszBuffer,
        LPWORD lpwVersion
);

Arguments:

Name Type Description
hDriver HISISDRV The handle to the driver.
lpszBuffer LPSTR A temporary storage buffer. Its size should be at least 5 bytes.
lpwVersion LPWORD A pointer that will point to the minor version number. This is the same as the Windows minor version number.

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_version function retrieves the minor version number of an ISIS driver. Currently, this is the number to the right of the decimal point in the version number. For example, if a driver has the version number "1.234", IG_ISIS_drv_get_version will retrieve the minor version number of "234." The major version number for all ISIS drivers is "1." This is the number to the left of the decimal point.

IG_ISIS_drv_get_version can be used to display the version number of the current scanner driver in a scan settings dialog or with some other status reporting mechanism. It should not, however, be used for version comparison during the application installation process to determine whether to install a particular driver. If you are building an installer and needs to check driver versions to determine whether to install a newer driver, you should check the version resources provided by Windows.

See Also:

IG_ISIS_drv_get_scan_name

IG_ISIS_drv_get_string