ImageGear for C and C++ on Windows v19.10 - Updated
IG_TWAIN_file_close
API Reference Guide > TWAIN Component API Reference > TWAIN Component Functions Reference > Device File System Functions > IG_TWAIN_file_close

This function closes the file system context associated with lpFileInfo.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_TWAIN_file_close(
        LPAT_TWAIN_FILEINFO lpFileInfo
);

Arguments:

Name Type Description
lpFileInfo LPAT_TWAIN_FILEINFO Pointer to an AT_TWAIN_FILEINFO structure associated with the file system context.

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:

Every call to IG_TWAIN_file_get_first() must be matched by a call to IG_TWAIN_file_close() to release the file system context.