This function retrieves the image to which the device's file system context currently points.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_TWAIN_file_get_image( LPHIGEAR lphIGear, LPFNIG_TWAIN_AFTER_AUDIO_SNIPPET lpfnAfterSnippet, LPVOID lpAfterSnippetData, AT_MODE nFlags); |
Arguments:
lphIGear | Far pointer to HIGEAR object in which to return ImageGear handle of the acquired image. |
lpfnAfterSnippet | Far pointer to a callback function that will be called after each audio snippet is acquired. |
lpAfterSnippetData | Optional pointer from which to pass and receive data. Set to NULL if you don't need to do this. |
nFlags |
Specifies the type of data to transfer. Can be one of the following values:
|
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:
Depends on the scanner driver.
Remarks:
Use IG_TWAIN_file_get_first() and IG_TWAIN_file_get_next() to select the file you want to transfer from the device's file system.