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

This function gets information about the requested file.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_TWAIN_file_info_get(
        LPCSTR lpszFileName,
        LPAT_TWAIN_FILEINFO lpFileInfo
);

Arguments:

Name Type Description
lpszFileName LPCSTR The name of the file about which to get information.
lpFileInfo LPAT_TWAIN_FILEINFO Pointer to an AT_TWAIN_FILEINFO structure that receives information about the requested file.

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:

Use IG_TWAIN_source_open() to select the desired Data Source.