ImageGear Professional DLL v17.1 for Windows Accusoft
IG_TWAIN_file_get_next
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > TWAIN Component API Reference > TWAIN Component Functions Reference > Device File System Functions > IG_TWAIN_file_get_next

Glossary Item Box

This function gets the next filename in a directory, and returns information about that file (the same information that can be retrieved with IG_TWAIN_file_info_get()).

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_TWAIN_file_get_next(
        LPAT_TWAIN_FILEINFO lpFileInfo);

Arguments:

lpFileInfo Pointer to an AT_TWAIN_FILEINFO structure that receives information about the next file in a directory.

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 Data Source positions the file system context to point to the next filename. lpFileInfo->szName contains the absolute path and name of the file. If the Application calls IG_TWAIN_file_get_image(), the current image will be transferred. A call to IG_TWAIN_file_get_first() must be issued on a given directory before the first call to IG_TWAIN_file_get_next().

©2012. Accusoft Corporation. All Rights Reserved.